base-files: add URL option for OEM manufacturer info
[openwrt/staging/wigyori.git] / package / base-files / image-config.in
index 1f0b2c86ea09c7db8c4edf4d4b646e5b8022c543..c1c0924f2049672019ca5128540c3c053d976279 100644 (file)
@@ -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,10 @@ if VERSIONOPT
                         %d .. Distribution name or "openwrt", lowercase
                         %T .. Target name
                         %S .. Target/Subtarget name
+                        %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
@@ -193,6 +197,13 @@ if VERSIONOPT
                        This is the manufacturer name embedded in /etc/device_info
                        Useful for OEMs building OpenWrt based firmware
 
+       config VERSION_MANUFACTURER_URL
+               string
+               prompt "Manufacturer URL"
+               help
+                       This is an URL to the manufacturer's website embedded in /etc/device_info
+                       Useful for OEMs building OpenWrt based firmware
+
        config VERSION_PRODUCT
                string
                prompt "Product name"