diff options
-rwxr-xr-x | BoardConfig.mk | 1 | ||||
-rw-r--r-- | device.mk | 9 |
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 @@ -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 |