diff options
author | Masahiro Yamada | 2018-05-28 11:21:47 +0200 |
---|---|---|
committer | Masahiro Yamada | 2018-05-28 20:31:19 +0200 |
commit | 2972666ac94f35760b59c5eccd20f633359b0b46 (patch) | |
tree | 67519badba82268816f4fabacbe567591d218550 /Makefile | |
parent | kconfig: add 'shell' built-in function (diff) | |
download | kernel-qcow2-linux-2972666ac94f35760b59c5eccd20f633359b0b46.tar.gz kernel-qcow2-linux-2972666ac94f35760b59c5eccd20f633359b0b46.tar.xz kernel-qcow2-linux-2972666ac94f35760b59c5eccd20f633359b0b46.zip |
kconfig: replace $(UNAME_RELEASE) with function call
Now that 'shell' function is supported, this can be self-contained in
Kconfig.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Ulf Magnusson <ulfalizer@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -284,8 +284,7 @@ include scripts/Kbuild.include # Read KERNELRELEASE from include/config/kernel.release (if it exists) KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null) KERNELVERSION = $(VERSION)$(if $(PATCHLEVEL),.$(PATCHLEVEL)$(if $(SUBLEVEL),.$(SUBLEVEL)))$(EXTRAVERSION) -UNAME_RELEASE := $(shell uname --release) -export VERSION PATCHLEVEL SUBLEVEL KERNELRELEASE KERNELVERSION UNAME_RELEASE +export VERSION PATCHLEVEL SUBLEVEL KERNELRELEASE KERNELVERSION # SUBARCH tells the usermode build what the underlying arch is. That is set # first, and if a usermode build is happening, the "ARCH=um" on the command |