CC: sdk: add base repository fallback
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 12 Jan 2016 09:27:30 +0000 (09:27 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 12 Jan 2016 09:27:30 +0000 (09:27 +0000)
commitd7034742f825460290e9e205219b3f144fd84971
tree0485bd9bf494b06cf0acc9dca1e1412bfd86a333
parent27a1eb1c1d1059b3df6c4a361eba9a75a08e2b04
CC: 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>
Backport of r48212

SVN-Revision: 48213
target/sdk/Makefile