Dmitry Shmidt | 926e2c5 | 2016-01-12 16:18:56 -0800 | [diff] [blame] | 1 | ifneq ($(filter hikey%, $(TARGET_DEVICE)),) |
| 2 | |
Dmitry Shmidt | e8886dd | 2016-05-24 15:18:23 -0700 | [diff] [blame] | 3 | ifeq ($(TARGET_BOOTIMAGE_USE_FAT), true) |
Yongqin Liu | 419d098 | 2016-05-30 15:16:26 +0800 | [diff] [blame] | 4 | $(PRODUCT_OUT)/boot_fat.uefi.img: $(INSTALLED_KERNEL_TARGET) $(INSTALLED_RAMDISK_TARGET) $(PRODUCT_OUT)/hi6220-hikey.dtb |
Dmitry Shmidt | 361b9b6 | 2015-12-03 11:27:13 -0800 | [diff] [blame] | 5 | # $@ is referring to $(PRODUCT_OUT)/boot_fat.uefi.img |
| 6 | dd if=/dev/zero of=$@ bs=512 count=98304 |
Vishal Bhoj | ca1fbcd | 2015-12-16 00:25:24 +0530 | [diff] [blame] | 7 | mkfs.fat -n "boot" $@ |
Dmitry Shmidt | fcfe2d6 | 2016-09-02 14:40:59 -0700 | [diff] [blame] | 8 | $(FAT16COPY) $@ $(PRODUCT_OUT)/kernel |
| 9 | $(FAT16COPY) $@ $(PRODUCT_OUT)/hi6220-hikey.dtb |
| 10 | $(FAT16COPY) $@ device/linaro/hikey/bootloader/* |
| 11 | $(FAT16COPY) $@ $(PRODUCT_OUT)/ramdisk.img |
Dmitry Shmidt | 361b9b6 | 2015-12-03 11:27:13 -0800 | [diff] [blame] | 12 | |
| 13 | droidcore: $(PRODUCT_OUT)/boot_fat.uefi.img |
Dmitry Shmidt | e8886dd | 2016-05-24 15:18:23 -0700 | [diff] [blame] | 14 | endif |
Dmitry Shmidt | 926e2c5 | 2016-01-12 16:18:56 -0800 | [diff] [blame] | 15 | |
| 16 | endif |