Pārlūkot izejas kodu

include, base-files: align default repository url with changed buildbot structure

Signed-off-by: Jo-Philipp Wich <[email protected]>

SVN-Revision: 44091
Jo-Philipp Wich 10 gadi atpakaļ
vecāks
revīzija
4ec8d515b2
2 mainītis faili ar 3 papildinājumiem un 4 dzēšanām
  1. 2 2
      include/version.mk
  2. 1 2
      package/base-files/image-config.in

+ 2 - 2
include/version.mk

@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2012 OpenWrt.org
+# Copyright (C) 2012-2015 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -30,7 +30,7 @@ VERSION_NICK:=$(call qstrip_escape,$(CONFIG_VERSION_NICK))
 VERSION_NICK:=$(if $(VERSION_NICK),$(VERSION_NICK),$(RELEASE))
 
 VERSION_REPO:=$(call qstrip_escape,$(CONFIG_VERSION_REPO))
-VERSION_REPO:=$(if $(VERSION_REPO),$(VERSION_REPO),http://downloads.openwrt.org/snapshots/trunk/%T/packages)
+VERSION_REPO:=$(if $(VERSION_REPO),$(VERSION_REPO),http://downloads.openwrt.org/snapshots/trunk/%S/packages)
 
 VERSION_DIST:=$(call qstrip_escape,$(CONFIG_VERSION_DIST))
 VERSION_DIST:=$(if $(VERSION_DIST),$(VERSION_DIST),OpenWrt)

+ 1 - 2
package/base-files/image-config.in

@@ -170,7 +170,7 @@ if VERSIONOPT
 	config VERSION_REPO
 		string
 		prompt "Release repository"
-		default "http://downloads.openwrt.org/snapshots/trunk/%s/packages"
+		default "http://downloads.openwrt.org/snapshots/trunk/%S/packages"
 		help
 			This is the repository address embedded in the image, it defaults
 			to the trunk snapshot repo; the url may contain the following placeholders:
@@ -185,7 +185,6 @@ if VERSIONOPT
 			 %d .. Distribution name or "openwrt", lowercase
 			 %T .. Target name
 			 %S .. Target/Subtarget name
-			 %s .. Target/Subtarget name in dotted notation, e.g. "ar71xx" or "ar71xx.nand"
 			 %t .. Build taint flags, e.g. "no-all busybox"
 			 %M .. Manufacturer name or "OpenWrt"
 			 %P .. Product name or "Generic"