diff --git a/kernel b/kernel new file mode 100755 index 0000000..117cdc1 Binary files /dev/null and b/kernel differ diff --git a/leo.mk b/leo.mk index 18855dd..7e27381 100755 --- a/leo.mk +++ b/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)