Home | History | Annotate | Download | only in tasks
      1 ifneq ($(filter hikey%, $(TARGET_DEVICE)),)
      2 
      3 $(PRODUCT_OUT)/boot_fat.uefi.img: $(PRODUCT_OUT)/kernel $(PRODUCT_OUT)/hi6220-hikey.dtb $(PRODUCT_OUT)/ramdisk.img
      4 # $@ is referring to $(PRODUCT_OUT)/boot_fat.uefi.img
      5 	dd if=/dev/zero of=$@ bs=512 count=98304
      6 	mkfs.fat -n "boot" $@
      7 	mcopy -i $@ $(PRODUCT_OUT)/kernel ::Image
      8 	mcopy -i $@ $(PRODUCT_OUT)/hi6220-hikey.dtb ::hi6220-hikey.dtb
      9 	mcopy -s -i $@ device/linaro/hikey/bootloader/* ::
     10 	mcopy -i $@ $(PRODUCT_OUT)/ramdisk.img ::ramdisk.img
     11 
     12 droidcore: $(PRODUCT_OUT)/boot_fat.uefi.img
     13 
     14 endif
     15