kbuild: create .kernelrelease at *config step
To enable 'make kernelrelease' earlier now create .kernelrelease when
one of the *config targets are used.
Also introduce KERNELVERSION - only user is kconfig.
KERNELVERSION was needed to display kernel version in menuconfig -
KERNELRELEASE is not valid until configuration has completed.
kconfig files modified to use KERNELVERSION.
Bug reported by: Rene Rebe <rene@exactcode.de>
Signed-off-by:
Sam Ravnborg <sam@ravnborg.org>
Showing
- Makefile 10 additions, 9 deletionsMakefile
- scripts/kconfig/confdata.c 1 addition, 1 deletionscripts/kconfig/confdata.c
- scripts/kconfig/gconf.c 1 addition, 1 deletionscripts/kconfig/gconf.c
- scripts/kconfig/mconf.c 1 addition, 1 deletionscripts/kconfig/mconf.c
- scripts/kconfig/symbol.c 2 additions, 2 deletionsscripts/kconfig/symbol.c
Loading
Please register or sign in to comment