summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 \