diff options
author | cshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-11-01 07:26:25 +0000 |
---|---|---|
committer | cshore <cshore@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-11-01 07:26:25 +0000 |
commit | 8aedf45bbdbe69045bd21b0098af51a1a6a55187 (patch) | |
tree | 5a644ca8d58635aaf8861ce056d55f8a90d9bb31 | |
parent | 7fc7ec981c4f2f4d5eab6005e573b18bb05c770a (diff) | |
download | openwrt-8aedf45bbdbe69045bd21b0098af51a1a6a55187.tar.gz openwrt-8aedf45bbdbe69045bd21b0098af51a1a6a55187.zip |
[sdk] Backport r34051
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@34052 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/sdk/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/target/sdk/Makefile b/target/sdk/Makefile index 51bf47b42..d6c42b052 100644 --- a/target/sdk/Makefile +++ b/target/sdk/Makefile @@ -52,8 +52,9 @@ $(BIN_DIR)/$(SDK_NAME).tar.bz2: clean ./files/package/rules.mk \ $(TOPDIR)/package/Makefile \ $(SDK_BUILD_DIR)/package/ - echo "src-svn trunk $(SVN_PACKAGE_URL)" \ - > $(SDK_BUILD_DIR)/feeds.conf.default + $(if $(SVN_PACKAGE_URL),echo "src-svn trunk $(SVN_PACKAGE_URL)" \ + > $(SDK_BUILD_DIR)/feeds.conf.default,\ + -rm -f $(SDK_BUILD_DIR)/feeds.conf.default) cat $(TOPDIR)/feeds.conf.default \ >> $(SDK_BUILD_DIR)/feeds.conf.default $(SED) 's,^# REVISION:=.*,REVISION:=$(REVISION),g' $(SDK_BUILD_DIR)/include/version.mk |