From: Daniel Dickinson Date: Thu, 1 Nov 2012 07:26:25 +0000 (+0000) Subject: Backport r34051 X-Git-Tag: attitude_adjustment_12.09~162 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=28bd74fc3ba01f7b2d25cc0246f6621c843c5359;p=openwrt%2Fsvn-archive%2Fopenwrt.git Backport r34051 SVN-Revision: 34052 --- diff --git a/target/sdk/Makefile b/target/sdk/Makefile index 51bf47b420..d6c42b0525 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