From 75b997c981686ef060cf7e454e0b9014fc2e51be Mon Sep 17 00:00:00 2001 From: Jan Huwald Date: Tue, 6 Mar 2012 14:36:48 +0000 Subject: Makefile: add option to check out specific SVN revision, fix revision for trunk diff --git a/Makefile b/Makefile index 6b19605..2c01683 100644 --- a/Makefile +++ b/Makefile @@ -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) -- cgit v0.10.1