Skip to content

Commit 0cef66f

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

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,6 +1043,11 @@ u-boot-pistachio-nor.img: u-boot-dtb.img u-boot-spl-pistachio.bimg FORCE
10431043
@dd if=/dev/zero of=$@ bs=4K count=384 conv=notrunc
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
1046+
ifeq ($(UBOOTRELEASE),$(UBOOTVERSION))
1047+
-mv u-boot-pistachio-nor.img u-boot-$(subst $\",,$(CONFIG_SYS_CONFIG_NAME))-$(UBOOTVERSION).img
1048+
else
1049+
-mv u-boot-pistachio-nor.img u-boot-$(subst $\",,$(CONFIG_SYS_CONFIG_NAME))-$(UBOOTRELEASE).img
1050+
endif
10461051

10471052
# x86 uses a large ROM. We fill it with 0xff, put the 16-bit stuff (including
10481053
# reset vector) at the top, Intel ME descriptor at the bottom, and U-Boot in

0 commit comments

Comments
 (0)