summaryrefslogtreecommitdiffstats
path: root/target/sdk/Makefile
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-04-13 10:47:45 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-04-13 10:47:45 +0000
commit360a996cc0962a0455f19a95108be155e53f885b (patch)
treebbcd547d2b4e6dcaf4ce59bb4ce16426a3841d77 /target/sdk/Makefile
parent7fe2f385bb6481edabc9eba18c8558cb33ad398b (diff)
[sdk] don't overwrite version.mk, substitute REVISION instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31271 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/sdk/Makefile')
-rw-r--r--target/sdk/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/sdk/Makefile b/target/sdk/Makefile
index 737404108..99177984e 100644
--- a/target/sdk/Makefile
+++ b/target/sdk/Makefile
@@ -56,7 +56,7 @@ $(BIN_DIR)/$(SDK_NAME).tar.bz2: clean
> $(SDK_BUILD_DIR)/feeds.conf.default
cat $(TOPDIR)/feeds.conf.default \
>> $(SDK_BUILD_DIR)/feeds.conf.default
- echo REVISION:="$(REVISION)" > $(SDK_BUILD_DIR)/include/version.mk
+ $(SED) 's,^# REVISION:=.*,REVISION:=$(REVISION),g' $(SDK_BUILD_DIR)/include/version.mk
find $(SDK_BUILD_DIR) -name .git | $(XARGS) rm -rf
find $(SDK_BUILD_DIR) -name .svn | $(XARGS) rm -rf
find $(SDK_BUILD_DIR) -name CVS | $(XARGS) rm -rf