diff --git a/tool/create_uboot b/tool/create_uboot index c0f224638..4345c5f98 100755 --- a/tool/create_uboot +++ b/tool/create_uboot @@ -19,12 +19,13 @@ help: $(ECHO) $(ECHO) " can be:" $(ECHO) " 'hw_wand_quad'" + $(ECHO) " 'hw_usb_armory'" $(ECHO) $(ECHO) " The image will be located at:" $(ECHO) " $(UBOOT_BUILD_DIR)/$(shell basename $(MMC_IMG))" $(ECHO) -PLATFORMS_ARM := hw_wand_quad +PLATFORMS_ARM := hw_wand_quad hw_usb_armory PLATFORMS := $(PLATFORMS_ARM) # get targeted platform based on the make target @@ -76,6 +77,13 @@ FINISH_IMAGE := \ dd if=$(UBOOT_IMG) of=$(MMC_IMG) bs=1k seek=68 conv=notrunc,fsync; endif +ifeq ($(PLATFORM), hw_usb_armory) +UBOOT_IMG := $(UBOOT_BUILD_DIR)/u-boot.imx +UBOOT_IMGS := $(UBOOT_IMG) +UBOOT_CONF := usbarmory_config +FINISH_IMAGE := dd if=$(UBOOT_IMG) of=$(MMC_IMG) bs=512 seek=0 conv=fsync +endif + # # Generic rules for the creation of the image #