Browse Source

base-files: update default url template and complete kconfig help

Change the kconfig default for the repository url template to use "%s"
instead of "%T" as well.

Also complete the kconfig help text do cover the recently introduced
manufacturer, product and hwrev options.

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

SVN-Revision: 43872
Jo-Philipp Wich 10 năm trước cách đây
mục cha
commit
3f26960a5c
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  1. 6 1
      package/base-files/image-config.in

+ 6 - 1
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/%T/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,6 +185,11 @@ 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"
+			 %h .. Hardware revision or "v0"
 
 	config VERSION_MANUFACTURER
 		string