diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-08 11:02:00 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-08 11:02:00 +0000 |
commit | 15d8db1f8c467763ed437184a80e9da6c02e69f2 (patch) | |
tree | 680b9db45681b9616ec843d1ce3ac7a5ee75facd /package/base-files/image-config.in | |
parent | 3e0817d606199bcdd089bb8c3318b3ea109c3f2d (diff) | |
download | upstream-15d8db1f8c467763ed437184a80e9da6c02e69f2.tar.gz upstream-15d8db1f8c467763ed437184a80e9da6c02e69f2.tar.bz2 upstream-15d8db1f8c467763ed437184a80e9da6c02e69f2.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>
SVN-Revision: 43869
Diffstat (limited to 'package/base-files/image-config.in')
-rw-r--r-- | package/base-files/image-config.in | 8 |
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 |