summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--BoardConfig.mk3
-rw-r--r--device.mk7
2 files changed, 3 insertions, 7 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 127c3a7..ba7328a 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -34,8 +34,11 @@ TARGET_CPU_VARIANT := cortex-a9
TARGET_NO_BOOTLOADER := true
+# Kernel
BOARD_KERNEL_BASE := 0x80000000
# BOARD_KERNEL_CMDLINE :=
+TARGET_KERNEL_CONFIG := tuna_defconfig
+TARGET_KERNEL_SOURCE := kernel/samsung/tuna
TARGET_NO_RADIOIMAGE := true
TARGET_BOARD_PLATFORM := omap4
diff --git a/device.mk b/device.mk
index 50987fc..f9b346d 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
@@ -67,7 +61,6 @@ PRODUCT_PACKAGES += \
# keystore.tuna
PRODUCT_COPY_FILES += \
- $(LOCAL_KERNEL):kernel \
device/samsung/tuna/rootdir/init.tuna.rc:root/init.tuna.rc \
device/samsung/tuna/rootdir/init.tuna.usb.rc:root/init.tuna.usb.rc \
device/samsung/tuna/rootdir/fstab.tuna:root/fstab.tuna \