Created
November 5, 2015 16:45
-
-
Save tophyr/132cf9dbafc5faa462b6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 0db24873af56e8aa6ee6bbacf5bf35dec4ff656c Mon Sep 17 00:00:00 2001 | |
From: Chris Sarbora <[email protected]> | |
Date: Thu, 29 Oct 2015 16:25:29 -0700 | |
Subject: [PATCH] WIP build goldfish kernel along with device | |
Change-Id: I4e051700fb46e5c0575c72ad42f238e78991f070 | |
--- | |
BoardConfig.mk | 16 +++++++++++++--- | |
1 file changed, 13 insertions(+), 3 deletions(-) | |
diff --git a/BoardConfig.mk b/BoardConfig.mk | |
index 25c36b7..0bc7ae9 100644 | |
--- a/BoardConfig.mk | |
+++ b/BoardConfig.mk | |
@@ -6,9 +6,19 @@ | |
# same as x86 except HAL | |
include device/generic/x86/BoardConfig.mk | |
-TARGET_KERNEL_SOURCE := prebuilts/qemu-kernel/x86 | |
-TARGET_KERNEL_CONFIG := cyanogenmod_emulatorx86_x86_defconfig | |
-TARGET_PREBUILT_KERNEL := prebuilts/qemu-kernel/x86/kernel-qemu | |
+# Define kernel config for inline building | |
+#KERNEL_TOOLCHAIN := external/qemu/distrib/kernel-toolchain | |
+KERNEL_TOOLCHAIN_PREFIX := $(abspath external/qemu/distrib/kernel-toolchain/android-kernel-toolchain-) | |
+KERNEL_REAL_TOOLCHAIN_PREFIX := $(abspath prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.8/bin/x86_64-linux-android-) | |
+BOARD_KERNEL_IMAGE_NAME := bzImage | |
+TARGET_NO_KERNEL := | |
+TARGET_NO_RAMDISK := | |
+TARGET_KERNEL_CONFIG := goldfish_defconfig | |
+TARGET_KERNEL_SOURCE := kernel/goldfish | |
+ | |
+# TARGET_KERNEL_CONFIG := cyanogenmod_emulatorx86_x86_defconfig | |
+# TARGET_KERNEL_SOURCE := prebuilts/qemu-kernel/x86 | |
+# TARGET_PREBUILT_KERNEL := prebuilts/qemu-kernel/x86/kernel-qemu | |
# Build OpenGLES emulation libraries | |
BUILD_EMULATOR_OPENGL := true | |
-- | |
1.9.1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment