Restrict checked out revision of the source code

This commit is contained in:
Justin Liu
2016-04-28 14:26:42 +08:00
parent 3cb383160d
commit 0df27bcc6c

View File

@@ -35,8 +35,9 @@ recovery.bin: HC6361
# 2. Checkout source code:
.checkout_svn: .check_hostdeps
# svn co svn://svn.openwrt.org/openwrt/branches/barrier_breaker $(openwrt_dir) -r43166 || :
git clone git://git.openwrt.org/14.07/openwrt.git $(openwrt_dir)
# svn co svn://svn.openwrt.org/openwrt/branches/barrier_breaker $(openwrt_dir) -r43770 || :
@git clone git://git.openwrt.org/14.07/openwrt.git $(openwrt_dir) || exit 1; \
cd $(openwrt_dir) && git reset --hard b763ba211deeab857ef7c2e5275e92c15dd5e249
@[ -d /var/dl ] && ln -sf /var/dl $(openwrt_dir)/dl || :
@touch .checkout_svn