1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 21:22:48 +02:00
openwrt-xburst/include
jow 8faa8431db [buildroot] include, base-files, opkg: introduce version configuration to override the 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")


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 17:31:16 +00:00
..
site [include] site: add configure cache scripts for mips-linux-gnu and mipsel-linux-gnu, used by CodeSourcery toolchain 2012-01-19 03:10:27 +00:00
autotools.mk [include] autotools.mk: fix autoreconf in subdirectories, thanks field_it for spotting this 2012-01-20 21:31:03 +00:00
cmake.mk [include] cmake.mk: fix passing of LDFLAGS 2012-01-09 05:42:04 +00:00
debug.mk build: undefine debug helper templates used by subdir.mk if the DEBUG variable is empty, speeds up "make prereq" by 25% when lots of packages are installed 2011-04-03 03:40:01 +00:00
depends.mk change the recursive dependency template to use more make evaluation - the shell command got so long that it triggered "Argument list too long" on some systems (#8231) 2010-11-24 14:07:12 +00:00
download.mk Enable recursive download of git sources. 2012-03-17 21:33:13 +00:00
host-build.mk tools: clean up Makefiles / make ccache work 2012-01-15 11:43:13 +00:00
host.mk [include] host.mk: introduce PATCH which refers to either gpatch or patch 2010-10-07 11:33:12 +00:00
image.mk image: increase squashfs block size - visibly reduces image size in many cases 2011-12-13 15:34:08 +00:00
kernel-build.mk [include] kernel-build.mk: there is no tarball when using CONFIG_KERNEL_GIT_CLONE_URI or CONFIG_EXTERNAL_KERNEL_TREE, do not make the prepared stamp file depend on it in this case 2011-10-03 11:33:13 +00:00
kernel-defaults.mk [image] define external cpio 2012-04-05 14:33:04 +00:00
kernel-version.mk kernel: update linux 3.3 to 3.3.1 2012-04-09 14:48:56 +00:00
kernel.mk include: calculate md5sum over sorted kernel config symbol list and incorperate it into the kernel metapackage version, make kmods depend on this specific version. 2012-01-08 15:23:11 +00:00
netfilter.mk [netfilter] fix ipt_ttl and ipt_TTL userspace library packaging 2012-03-12 02:07:22 +00:00
nls.mk [buildroot] prepare support for libiconv, libintl stub/full switching 2011-02-02 01:26:19 +00:00
package-bin.mk only build bin packages for the selected build variants (same behaviour as with ipkg builds) 2010-05-15 15:57:00 +00:00
package-defaults.mk build: remove redundant call to $(SH_FUNC) (#8042) 2012-03-05 11:57:08 +00:00
package-dumpinfo.mk add support for hidden packages that get selected/built but do not show up in menuconfig 2011-07-02 06:49:09 +00:00
package-ipkg.mk include/package-ipkg.mk: fix typo in r29449 2011-12-10 22:02:50 +00:00
package-version-override.mk replace old quote stripping with calls to qstrip macro 2010-04-29 00:32:44 +00:00
package.mk build: improve reliability of PKG_CONFIG_DEPENDS, remove old .configured_* stamps before creating a new one 2011-11-05 19:09:40 +00:00
prereq-build.mk [include] Add git version check to prerequisite check (#11229) 2012-04-06 12:05:59 +00:00
prereq.mk some minor fixes, cleanups, package build abstraction 2007-09-28 01:23:56 +00:00
quilt.mk quilt: add a NO_RECONFIGURE override for compiling a package without re-running Build/Configure 2012-02-13 15:31:28 +00:00
scan.mk build: log package dump failures to logs to avoid forcing user to write cryptic commands to figure out what's going on 2011-04-06 14:48:59 +00:00
shell.sh clean up md5s() shell function 2008-09-02 10:57:51 +00:00
subdir.mk remove legacy package/foo-compile wrapper targets, people should be used to the correct target names by now 2011-05-28 16:27:21 +00:00
target.mk [include] target.mk: Trivial comment typo fix 2012-02-05 18:15:18 +00:00
toolchain-build.mk optionally support parallel toolchain build. This defaults to off, because certain toolchain versions are known to break on parallel build. However, it significantly speeds up the build and latest versions of the tools do compile fine. 2010-10-03 12:54:07 +00:00
toplevel.mk [include] prevent distro default LPATH from interfering 2012-04-05 14:33:03 +00:00
unpack.mk speed up the build system by including include/shell.sh on shell commands only where necessary 2010-08-19 12:49:37 +00:00
verbose.mk Allow colored output to be disabled when running a non-verbose build by 2010-02-08 22:28:19 +00:00
version.mk [buildroot] include, base-files, opkg: introduce version configuration to override the embedded version info of generated images 2012-04-12 17:31:16 +00:00