diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2014-04-25 12:09:29 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2014-04-25 12:09:29 +0200 |
commit | a9efa86e951f2b6c1a019ac01b8d68a6f43c720e (patch) | |
tree | 6a5d7863608dcf10c6a05a4734efc34a69aa4bc4 | |
parent | da0fd963266488e75210697175680c949829efb6 (diff) | |
download | device_goldelico_gta04-a9efa86e951f2b6c1a019ac01b8d68a6f43c720e.zip device_goldelico_gta04-a9efa86e951f2b6c1a019ac01b8d68a6f43c720e.tar.gz device_goldelico_gta04-a9efa86e951f2b6c1a019ac01b8d68a6f43c720e.tar.bz2 |
bootimg.mk: bootloader target
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r-- | bootimg.mk | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -16,9 +16,13 @@ LOCAL_PATH := $(call my-dir) INSTALLED_RAMDISK_TARGET := $(PRODUCT_OUT)/ramdisk.cpio +INSTALLED_BOOTLOADER_TARGET := $(PRODUCT_OUT)/bootloader.zip INSTALLED_UBOOT_SCRIPT_MODULE := $(PRODUCT_OUT)/boot.scr INSTALLED_UBOOT_SPLASH_MODULE := $(PRODUCT_OUT)/splash.rgb16z +.PHONY: bootloader +bootloader: $(INSTALLED_BOOTLOADER_TARGET) + BUILT_RAMDISK_TARGET := $(INSTALLED_RAMDISK_TARGET) $(INSTALLED_RAMDISK_TARGET): $(MKBOOTFS) $(INTERNAL_RAMDISK_FILES) @@ -40,3 +44,7 @@ $(INSTALLED_BOOTLOADERIMAGE_TARGET): $(INSTALLED_XLOADER_MODULE) $(INSTALLED_UBO $(MKIMAGE) -A arm -T script -C none -n "boot.scr" -d $(UBOOT_SRC)/../boot-scr/boot.txt $(INSTALLED_UBOOT_SCRIPT_MODULE) @echo -e ${CL_CYN}"Made U-Boot script: $(INSTALLED_UBOOT_SCRIPT_MODULE)"${CL_RST} @echo -e ${CL_CYN}"Made U-Boot: $(INSTALLED_UBOOT_MODULE)"${CL_RST} + +$(INSTALLED_BOOTLOADER_TARGET): $(INSTALLED_RECOVERYIMAGE_TARGET) $(INSTALLED_BOOTLOADERIMAGE_TARGET) $(PRODUCT_OUT)/replicant_gta04_install.sh + zip -qj $@ $(INSTALLED_RECOVERYIMAGE_TARGET) $(INSTALLED_XLOADER_MODULE) $(INSTALLED_UBOOT_SPLASH_MODULE) $(INSTALLED_UBOOT_SCRIPT_MODULE) $(INSTALLED_UBOOT_MODULE) + @echo -e ${CL_CYN}"Made bootloader: $(INSTALLED_BOOTLOADER_TARGET)"${CL_RST} |