summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Swetland <swetland@google.com>2010-09-19 05:50:21 -0700
committerBrian Swetland <swetland@google.com>2010-09-19 05:50:21 -0700
commitcb7eafbe7c7c211a0682b627aa2e10b319e052df (patch)
tree944ff439504e8e79fe2504bd0b9b0ded5a070df8
parentb8876fb63f1f9b74c28b817b088c8b11703407db (diff)
downloaddevice_samsung_crespo-cb7eafbe7c7c211a0682b627aa2e10b319e052df.zip
device_samsung_crespo-cb7eafbe7c7c211a0682b627aa2e10b319e052df.tar.gz
device_samsung_crespo-cb7eafbe7c7c211a0682b627aa2e10b319e052df.tar.bz2
okay finally got this stupid prebuilt kernel config right...
Change-Id: Ib2721bf948a424c61d4a2a476e3f3600d7ecbfc4
-rwxr-xr-xBoardConfig.mk1
-rw-r--r--device.mk9
2 files changed, 9 insertions, 1 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 0cab08c..aa34429 100755
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -32,7 +32,6 @@ BOARD_HAVE_BLUETOOTH_BCM := true
TARGET_NO_BOOTLOADER := true
TARGET_NO_KERNEL := false
-TARGET_PREBUILT_KERNEL := $(LOCAL_PATH)/kernel
TARGET_NO_RADIOIMAGE := true
TARGET_PROVIDES_INIT_TARGET_RC := true
diff --git a/device.mk b/device.mk
index 90627c3..42a122f 100644
--- a/device.mk
+++ b/device.mk
@@ -110,6 +110,15 @@ PRODUCT_LOCALES := hdpi
PRODUCT_COPY_FILES += \
device/samsung/crespo/bcm4329.ko:system/modules/bcm4329.ko
+ifeq ($(TARGET_PREBUILT_KERNEL),)
+LOCAL_KERNEL := device/samsung/crespo/kernel
+else
+LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
+endif
+
+PRODUCT_COPY_FILES += \
+ $(LOCAL_KERNEL):kernel
+
# See comment at the top of this file. This is where the other
# half of the device-specific product definition file takes care
# of the aspects that require proprietary drivers that aren't