blob: b65b21880f5e20e69280c2bd6c2deb6bf40c54b2 [file] [log] [blame]
Dmitry Shmidt926e2c52016-01-12 16:18:56 -08001ifneq ($(filter hikey%, $(TARGET_DEVICE)),)
2
Dmitry Shmidte8886dd2016-05-24 15:18:23 -07003ifeq ($(TARGET_BOOTIMAGE_USE_FAT), true)
Yongqin Liu419d0982016-05-30 15:16:26 +08004$(PRODUCT_OUT)/boot_fat.uefi.img: $(INSTALLED_KERNEL_TARGET) $(INSTALLED_RAMDISK_TARGET) $(PRODUCT_OUT)/hi6220-hikey.dtb
Dmitry Shmidt361b9b62015-12-03 11:27:13 -08005# $@ is referring to $(PRODUCT_OUT)/boot_fat.uefi.img
6 dd if=/dev/zero of=$@ bs=512 count=98304
Vishal Bhojca1fbcd2015-12-16 00:25:24 +05307 mkfs.fat -n "boot" $@
Dmitry Shmidtfcfe2d62016-09-02 14:40:59 -07008 $(FAT16COPY) $@ $(PRODUCT_OUT)/kernel
9 $(FAT16COPY) $@ $(PRODUCT_OUT)/hi6220-hikey.dtb
10 $(FAT16COPY) $@ device/linaro/hikey/bootloader/*
11 $(FAT16COPY) $@ $(PRODUCT_OUT)/ramdisk.img
Dmitry Shmidt361b9b62015-12-03 11:27:13 -080012
13droidcore: $(PRODUCT_OUT)/boot_fat.uefi.img
Dmitry Shmidte8886dd2016-05-24 15:18:23 -070014endif
Dmitry Shmidt926e2c52016-01-12 16:18:56 -080015
16endif