Skip to content

Commit 10a605d

Browse files
Avinash TahakikAvinash95
authored andcommitted
Add version to uboot image name
Signed-off-by: Avinash Tahakik <[email protected]>
1 parent 980745b commit 10a605d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,6 +1044,13 @@ u-boot-pistachio-nor.img: u-boot-dtb.img u-boot-spl-pistachio.bimg FORCE
10441044
@dd if=u-boot-spl-pistachio.bimg of=$@ bs=4K count=128 conv=notrunc
10451045
@dd if=u-boot-dtb.img of=$@ bs=4K count=256 seek=128 conv=notrunc
10461046

1047+
ifeq ($(UBOOTRELEASE),)
1048+
-mv u-boot-pistachio-nor.img u-boot-$(subst $\",,$(CONFIG_SYS_CONFIG_NAME))-$(UBOOTVERSION).img
1049+
else
1050+
-mv u-boot-pistachio-nor.img "u-boot-$(subst $\",,$(CONFIG_SYS_CONFIG_NAME))-\
1051+
$(shell cat $(srctree)/include/config/uboot.release).img"
1052+
endif
1053+
10471054
# x86 uses a large ROM. We fill it with 0xff, put the 16-bit stuff (including
10481055
# reset vector) at the top, Intel ME descriptor at the bottom, and U-Boot in
10491056
# the middle.

0 commit comments

Comments
 (0)