sdk: add base repository fallback
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 12 Jan 2016 09:25:45 +0000 (09:25 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 12 Jan 2016 09:25:45 +0000 (09:25 +0000)
commitb5308bfe6f406650d7de3b75f13a72561374d2ce
tree249abff95a4ee6b9ea66ec37e251be4327008ac3
parent3ed2734437e100e87520bbbd1afb996de2a03314
sdk: add base repository fallback

When the build system cannot infer its own repository url then let it fall
back to http://git.openwrt.org/ for the base feed.

The path to openwrt.git is guessed from the VERSION_NUMBER variable:

 "unknown" or "r12345" -> http://git.openwrt.org/openwrt.git
 "15.05.1"             -> http://git.openwrt.org/15.05/openwrt.git

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 48212
target/sdk/Makefile