summaryrefslogtreecommitdiffstats
path: root/device.mk
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 /device.mk
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
Diffstat (limited to 'device.mk')
-rw-r--r--device.mk9
1 files changed, 9 insertions, 0 deletions
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