diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-09-30 17:40:24 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-09-30 17:40:24 +0200 |
commit | 912ea81ad4a2f1b6a87c9cebfefdbbf1f60f526a (patch) | |
tree | 7359090e0ea6cd1aa70f43032261299d383381d7 /Makefile | |
parent | 89464a96015e89da07b87d18b31f4b25b4c890ba (diff) |
Makefile: reinstate /etc/br-version
Got lost in the recent cleanup, but is handy to know BR version.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -404,6 +404,10 @@ endif find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true $(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null + mkdir -p $(TARGET_DIR)/etc + echo $(BR2_VERSION)$(shell $(TOPDIR)/scripts/setlocalversion) > \ + $(TARGET_DIR)/etc/br-version + ifneq ($(BR2_ROOTFS_POST_BUILD_SCRIPT),"") $(BR2_ROOTFS_POST_BUILD_SCRIPT) $(TARGET_DIR) endif |