aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-01-08 11:02:00 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-01-08 11:02:00 +0000
commita8bb90bd2f07fa5da756c11911c64af1c855ee3d (patch)
tree6d400dd11f5ca0345b67ba2dcecaf21f0b6e9983 /package/base-files
parent49305aa537d5235b2deca67e34f0d2bf26e855d8 (diff)
downloadmaster-187ad058-a8bb90bd2f07fa5da756c11911c64af1c855ee3d.tar.gz
master-187ad058-a8bb90bd2f07fa5da756c11911c64af1c855ee3d.tar.bz2
master-187ad058-a8bb90bd2f07fa5da756c11911c64af1c855ee3d.zip
build: add version number to filenames
This commit introduces a new option CONFIG_VERSION_FILENAMES which causes OpenWrt to embed the version number in generated image files, SDK- and ImageBuilder archives. The option is enabled by default if CONFIG_VERSIONOPT is set. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43869 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/image-config.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/base-files/image-config.in b/package/base-files/image-config.in
index 8859eb6f6a..1f0b2c86ea 100644
--- a/package/base-files/image-config.in
+++ b/package/base-files/image-config.in
@@ -206,6 +206,14 @@ if VERSIONOPT
help
This is the hardware revision string embedded in /etc/device_info
Useful for OEMs building OpenWrt based firmware
+
+ config VERSION_FILENAMES
+ bool
+ prompt "Version number in filenames"
+ default y
+ help
+ Enable this to include the version number in firmware image, SDK-
+ and Image Builder archive file names
endif