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)
commit2224dbdb9de293497f8e6a56b5a587b54c8d9d97
treed64e8ef78fe91e120e957e8a039dba79b43075b7
parentb809725eb185c00c14e34d8e4e9d5c4d30a5a985
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