summaryrefslogtreecommitdiffstats
path: root/include/version.mk
Commit message (Collapse)AuthorAgeFilesLines
* include, base-files: align default repository url with changed buildbot ↵Jo-Philipp Wich2015-01-231-2/+2
| | | | | | | | structure Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44091
* Revert "version.mk: add "%s" placeholder for dotted target.subtarget notation"Jo-Philipp Wich2015-01-231-2/+1
| | | | | | This reverts commit d388882dccc1b25575939c3713b3ab394c371fd0. SVN-Revision: 44090
* Revert "version.mk: explicitely filter "generic" subtarget for "%s" ↵Jo-Philipp Wich2015-01-231-1/+1
| | | | | | | | placeholder (#18710)" This reverts commit d907396dc1c2ae0268dc54835b108afef4761d4e. SVN-Revision: 44089
* version.mk: explicitely filter "generic" subtarget for "%s" placeholder (#18710)Jo-Philipp Wich2015-01-101-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 43905
* version.mk: add "%s" placeholder for dotted target.subtarget notationJo-Philipp Wich2015-01-081-1/+2
| | | | | | | | | | | | | Implement "%s" placeholder that expands to either the target name, e.g. "ar71xx" if the subtarget is generic or to target.subtarget, e.g. "ar71xx.nand" is a subtarget is choosen. Also change the default repository url template to use "%s" instead of "%T" to reflect the directory structure used by the buildbot systems. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 43871
* base-files: properly escape strings for version infoFelix Fietkau2014-07-291-8/+13
| | | | | | | | | Make sure they don't break the sed command, and also make device_info and openwrt_release more robust for parsing by scripts Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41885
* base-files: add extra version configuration options for OEM manufacturer infoFelix Fietkau2014-07-291-1/+15
| | | | | | | | | | | Creates /etc/device_info which will be used to fill in information for WPS and other protocols that need manufacturer/device information This helps with creating OpenWrt firmware for OEM or rebranded devices. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41884
* version.mk: add initial infrastructure for recording specific build taint ↵Jo-Philipp Wich2014-01-311-0/+25
| | | | | | conditions like modified busybox or disabled ipv6 support SVN-Revision: 39436
* version.mk: ensure that %S is always populated with a subtarget identifier, ↵Jo-Philipp Wich2012-09-241-1/+1
| | | | | | fallback to "generic" if no subtarget exists SVN-Revision: 33534
* don't overwrite version.mk, substitute REVISION insteadJo-Philipp Wich2012-04-131-0/+3
| | | | SVN-Revision: 31271
* include, base-files, opkg: introduce version configuration to override the ↵Jo-Philipp Wich2012-04-121-0/+40
embedded version info of generated images - Introduce new Kconfig symbols VERSION_DIST, VERSION_NICK, VERSION_NUMBER and VERSION_REPO to specify distribution, release name, version and repository for a given build - Introduce include/version.mk to provide common helpers for packages dealing with versions - Make opkg use version.mk to populate the opkg.conf template - Make base-files use version.mk to populate /etc/openwrt_version, /etc/openwrt_release and /etc/banner The available placeholders are: %D .. Replace with $(CONFIG_VERSION_DIST), default to "OpenWrt" %d .. Like %D, but all characters made lowercase and spaces substituted with "_" (e.g. "openwrt") %N .. Replace with $(CONFIG_VERSION_NICK), default to the build tree release (e.g. "Attitude Adjustment") %n .. Like %N, but all characters made lowercase and spaces substituted with "_" (e.g. "attitude_adjustment") %V .. Replace with $(CONFIG_VERSION_NUMBER), default to the build tree release (e.g. "r31262") %v .. Like %V, but all characters made lowercase and spaces substituted with "_" %C .. Replace with $(CONFIG_VERSION_NUMBER), default to "Bleeding Edge" %c .. Like %C, but all characters made lowercase and spaces substituted with "_" (e.g. "bleeding_edge") %U .. Replace with $(CONFIG_VERSION_REPO), default to "http://downloads.openwrt.org/snapshots/trunk/%T/packages" %R .. Replace with the current build tree revision (e.g. "r31262" or "75488c4a05b8033cf69e91874a61852db7ba9c6c") %T .. Replace with the current target (e.g. "ar71xx") %S .. Replace with the current target/subtarget combo (e.g. "adm5120/router_le") SVN-Revision: 31262