From 903019e50d2b2fcff274447f71aa3fec91a0ea0d Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 13 Apr 2012 10:47:45 +0000 Subject: [sdk] don't overwrite version.mk, substitute REVISION instead git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31271 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/sdk/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/sdk') diff --git a/target/sdk/Makefile b/target/sdk/Makefile index 737404108d..99177984e2 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 -- cgit v1.2.3