Use U_BOOT_VERSION string in U-Boot image header name field
authorPiotr Dymacz <pepe2k@gmail.com>
Mon, 6 Feb 2017 08:39:31 +0000 (09:39 +0100)
committerPiotr Dymacz <pepe2k@gmail.com>
Mon, 6 Feb 2017 08:39:52 +0000 (09:39 +0100)
u-boot/Makefile

index 194462d3936790b50b717d4e63dca428894b5090..9a33031b7d5f6619564a4605907644966e3c659b 100644 (file)
@@ -91,7 +91,7 @@ define echo_yellow
 endef
 
 define ih_name
-u-boot_mod $(if $(filter $(IMG_RAM),1),RAM,$(if $(filter $(IMG_LZMA),1),LZMA FLASH,FLASH)) image
+U-Boot $(strip $(subst ",,$(U_BOOT_VERSION)))
 endef
 
 # $(1): name