diff options
author | Daniel Dickinson <daniel@cshore.neomailbox.net> | 2012-11-01 07:15:49 +0000 |
---|---|---|
committer | Daniel Dickinson <daniel@cshore.neomailbox.net> | 2012-11-01 07:15:49 +0000 |
commit | 78170ee893fc3978d80e14576510d5f5327001a0 (patch) | |
tree | 64a5ab6c4b51fb073bd8fe1d7b2e6d8e44a184e5 /target/sdk/Makefile | |
parent | 8fda8ed025faf628c25c47c9996a73bd59978622 (diff) | |
download | upstream-78170ee893fc3978d80e14576510d5f5327001a0.tar.gz upstream-78170ee893fc3978d80e14576510d5f5327001a0.tar.bz2 upstream-78170ee893fc3978d80e14576510d5f5327001a0.zip |
[sdk] Fix feeds.conf.default when no SVN info present
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34051 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/sdk/Makefile')
-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 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 |