Makefile: use global version string in /etc/br-version
authorYann E. MORIN <yann.morin.1998@anciens.enib.fr>
Sun, 31 Oct 2010 16:35:13 +0000 (17:35 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 3 Nov 2010 22:31:32 +0000 (23:31 +0100)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Makefile

index d6a76282d36fa4651ae947cb187eaf157659d6e6..dda78fe1b52e531e63db6a960b2e56fde9d7337c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -413,8 +413,7 @@ endif
        else \
                /sbin/ldconfig -r $(TARGET_DIR); \
        fi
-       echo $(BR2_VERSION)$(shell $(TOPDIR)/scripts/setlocalversion) > \
-               $(TARGET_DIR)/etc/br-version
+       echo $(BR2_VERSION_FULL) > $(TARGET_DIR)/etc/br-version
 
 ifneq ($(BR2_ROOTFS_POST_BUILD_SCRIPT),"")
        $(BR2_ROOTFS_POST_BUILD_SCRIPT) $(TARGET_DIR)