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)
commit961004586b66e1183a81df7f91f65d8881eb3887
tree6bbe8d0c348a2960d3de94abf0959ba839632ed5
parentb4271eb40b110f270d89002cd9b0b8f6d56667d9
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