Even though we dont need the boot.img but it still needs to be built for otapackage or build breaks
Change-Id: Ia9a16ea0afa914fb8301a9947a271953bac97a0b
This commit is contained in:
parent
d3cb60fbc3
commit
92ffd1a05d
10
leo.mk
10
leo.mk
@ -138,7 +138,6 @@ PRODUCT_COPY_FILES += \
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/htc/leo/modules/bcm4329.ko:system/lib/modules/bcm4329.ko \
|
||||
device/htc/leo/modules/cifs.ko:system/lib/modules/cifs.ko \
|
||||
device/htc/leo/modules/fuse.ko:system/lib/modules/fuse.ko \
|
||||
device/htc/leo/modules/msm_rmnet.ko:system/lib/modules/msm_rmnet.ko \
|
||||
device/htc/leo/modules/nls_utf8.ko:system/lib/modules/nls_utf8.ko \
|
||||
device/htc/leo/modules/tun.ko:system/lib/modules/tun.ko
|
||||
@ -147,6 +146,15 @@ PRODUCT_COPY_FILES += \
|
||||
device/htc/leo/zImage:boot/zImage \
|
||||
device/htc/leo/initrd.gz:boot/initrd.gz \
|
||||
|
||||
ifeq ($(TARGET_PREBUILT_KERNEL),)
|
||||
LOCAL_KERNEL := device/htc/leo/kernel
|
||||
else
|
||||
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
|
||||
endif
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_KERNEL):kernel
|
||||
|
||||
# media profiles and capabilities spec
|
||||
$(call inherit-product, device/htc/leo/media_a1026.mk)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user