summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Donovan <swordrune10@gmail.com>2012-04-16 20:59:35 -0500
committerSean Donovan <swordrune10@gmail.com>2012-04-17 12:59:38 -0500
commit422ba792736d32d753d2c48fa4afd4e7147d6217 (patch)
tree87ece931a7fc3547c07af1a71cd7befe4dc092b9
parent0920b34716feb400f7e0097022ee88c7b022a70d (diff)
downloaddevice_samsung_tuna-422ba792736d32d753d2c48fa4afd4e7147d6217.zip
device_samsung_tuna-422ba792736d32d753d2c48fa4afd4e7147d6217.tar.gz
device_samsung_tuna-422ba792736d32d753d2c48fa4afd4e7147d6217.tar.bz2
Support inline kernel building
Patch 5: change kernel config to match repo Change-Id: Ia04157d2e3cb495e20a76775b4d3ef6596f3191a Signed-off-by: Sean Donovan <swordrune10@gmail.com>
-rw-r--r--BoardConfig.mk4
-rw-r--r--device.mk7
2 files changed, 4 insertions, 7 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 668acce..25cf0fc 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -32,6 +32,10 @@ TARGET_NO_BOOTLOADER := true
BOARD_KERNEL_BASE := 0x80000000
# BOARD_KERNEL_CMDLINE :=
+# Define kernel config for inline building
+TARGET_KERNEL_CONFIG := tuna_defconfig
+TARGET_KERNEL_SOURCE := kernel/samsung/tuna
+
TARGET_PREBUILT_KERNEL := device/samsung/tuna/kernel
TARGET_NO_RADIOIMAGE := true
diff --git a/device.mk b/device.mk
index 962d7b5..6d58c7f 100644
--- a/device.mk
+++ b/device.mk
@@ -19,12 +19,6 @@
#
# Everything in this directory will become public
-ifeq ($(TARGET_PREBUILT_KERNEL),)
-LOCAL_KERNEL := device/samsung/tuna/kernel
-else
-LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
-endif
-
DEVICE_PACKAGE_OVERLAYS := device/samsung/tuna/overlay
# This device is xhdpi. However the platform doesn't
@@ -55,7 +49,6 @@ PRODUCT_PACKAGES += \
tuna_hdcp_keys
PRODUCT_COPY_FILES := \
- $(LOCAL_KERNEL):kernel \
device/samsung/tuna/init.tuna.rc:root/init.tuna.rc \
device/samsung/tuna/init.tuna.usb.rc:root/init.tuna.usb.rc \
device/samsung/tuna/ueventd.tuna.rc:root/ueventd.tuna.rc \