Centralize setting of all version info to include/version.mk
Centralize setting all version information in include/version.mk * Set RELEASE env variable in include/version.mk instead of toplevel.mk. Stop exporting the variable. * Remove hardcoded release name from /etc/banner Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
parent
6707d9750a
commit
3193053df7
3 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,6 @@
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
#
|
#
|
||||||
|
|
||||||
RELEASE:=Designated Driver
|
|
||||||
PREP_MK= OPENWRT_BUILD= QUIET=0
|
PREP_MK= OPENWRT_BUILD= QUIET=0
|
||||||
|
|
||||||
export IS_TTY=$(shell tty -s && echo 1 || echo 0)
|
export IS_TTY=$(shell tty -s && echo 1 || echo 0)
|
||||||
|
@ -20,7 +19,6 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
HOSTCC ?= $(CC)
|
HOSTCC ?= $(CC)
|
||||||
export RELEASE
|
|
||||||
export REVISION
|
export REVISION
|
||||||
export GIT_CONFIG_PARAMETERS='core.autocrlf=false'
|
export GIT_CONFIG_PARAMETERS='core.autocrlf=false'
|
||||||
export MAKE_JOBSERVER=$(filter --jobserver%,$(MAKEFLAGS))
|
export MAKE_JOBSERVER=$(filter --jobserver%,$(MAKEFLAGS))
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
# Substituted by SDK, do not remove
|
# Substituted by SDK, do not remove
|
||||||
# REVISION:=x
|
# REVISION:=x
|
||||||
|
|
||||||
|
RELEASE:=Reboot
|
||||||
|
|
||||||
PKG_CONFIG_DEPENDS += \
|
PKG_CONFIG_DEPENDS += \
|
||||||
CONFIG_VERSION_NUMBER \
|
CONFIG_VERSION_NUMBER \
|
||||||
CONFIG_VERSION_NICK \
|
CONFIG_VERSION_NICK \
|
||||||
|
|
|
@ -5,6 +5,6 @@
|
||||||
/________/ LE \ |____|___|___/|___| lede-project.org
|
/________/ LE \ |____|___|___/|___| lede-project.org
|
||||||
\ \ DE /
|
\ \ DE /
|
||||||
\ LE \ / -----------------------------------------------------------
|
\ LE \ / -----------------------------------------------------------
|
||||||
\ DE \ / Reboot (%C, %R)
|
\ DE \ / %N (%C, %R)
|
||||||
\________\/ -----------------------------------------------------------
|
\________\/ -----------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue