diff options
author | Jan Huwald <jh@sotun.de> | 2012-03-06 14:36:48 (GMT) |
---|---|---|
committer | Jan Huwald <jh@sotun.de> | 2012-03-06 14:36:48 (GMT) |
commit | 75b997c981686ef060cf7e454e0b9014fc2e51be (patch) | |
tree | 4b5f9cf455bab39065c26b761877c77a3717912e | |
parent | 56878581f13fd4f4ebe4625a8c40318011836d3c (diff) |
Makefile: add option to check out specific SVN revision, fix revision for trunk
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -13,7 +13,7 @@ all: image/trunk/openwrt-ar71xx-tl-wr841 \ # fetching and maintaing OpenWRT repositories define init-repo mkdir -p openwrt dl -cd openwrt && svn co $(REPO_URL) +cd openwrt && svn co $(shell [ -n "$(REPO_VSN)" ] && echo -r $(REPO_VSN)) $(REPO_URL) cat $(@D)/feeds.conf.default feeds.conf > $(@D)/feeds.conf cd $(@D) && ./scripts/feeds update cd $(@D) && ./scripts/feeds install -a -p ffj @@ -22,6 +22,7 @@ touch $@ endef openwrt/trunk/.repo_access: REPO_URL=svn://svn.openwrt.org/openwrt/trunk/ +openwrt/trunk/.repo_access: REPO_VSN=30772 openwrt/trunk/.repo_access: $(init-repo) |