summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-05-04 01:03:30 +0200
committerWolfgang Denk <wd@denx.de>2008-05-04 01:03:30 +0200
commitfb98f94fcbdf0adef6650f6a95ac6e77b0f6e63e (patch)
treeef2a53892d00ecfd9a09d4597eedea783b291cf4 /Makefile
parentbd98ee60df43ee6dd6f5ebe32c67d03e90513ff8 (diff)
parent7c0773fde6100b61be2558cb5d8c442a3194aecb (diff)
downloadu-boot-imx-fb98f94fcbdf0adef6650f6a95ac6e77b0f6e63e.zip
u-boot-imx-fb98f94fcbdf0adef6650f6a95ac6e77b0f6e63e.tar.gz
u-boot-imx-fb98f94fcbdf0adef6650f6a95ac6e77b0f6e63e.tar.bz2
Merge branch 'master' of /home/wd/git/u-boot/master/
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ac0a17f..ca860ba 100644
--- a/Makefile
+++ b/Makefile
@@ -352,11 +352,9 @@ $(U_BOOT_ONENAND): $(ONENAND_IPL) $(obj)u-boot.bin $(obj)include/autoconf.mk
cat $(obj)onenand_ipl/onenand-ipl-4k.bin $(obj)u-boot.bin > $(obj)u-boot-flexonenand.bin
$(VERSION_FILE):
- @( echo -n "#define U_BOOT_VERSION \"U-Boot " ; \
- echo -n "$(U_BOOT_VERSION)" ; \
- echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \
- $(TOPDIR)) ; \
- echo "\"" ) > $@.tmp
+ @( printf '#define U_BOOT_VERSION "U-Boot %s%s"\n' "$(U_BOOT_VERSION)" \
+ '$(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion $(TOPDIR))' \
+ ) > $@.tmp
@cmp -s $@ $@.tmp && rm -f $@.tmp || mv -f $@.tmp $@
gdbtools: