diff options
| author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-05-28 05:21:47 -0400 |
|---|---|---|
| committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-05-28 14:31:19 -0400 |
| commit | 2972666ac94f35760b59c5eccd20f633359b0b46 (patch) | |
| tree | 67519badba82268816f4fabacbe567591d218550 /init | |
| parent | 2fd5b09c201e20ab87299efd6a25f0bfc546e7c9 (diff) | |
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 'init')
| -rw-r--r-- | init/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init/Kconfig b/init/Kconfig index 1217fc62ca61..f1b0cfb89762 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
| @@ -2,9 +2,9 @@ config DEFCONFIG_LIST | |||
| 2 | string | 2 | string |
| 3 | depends on !UML | 3 | depends on !UML |
| 4 | option defconfig_list | 4 | option defconfig_list |
| 5 | default "/lib/modules/$(UNAME_RELEASE)/.config" | 5 | default "/lib/modules/$(shell,uname --release)/.config" |
| 6 | default "/etc/kernel-config" | 6 | default "/etc/kernel-config" |
| 7 | default "/boot/config-$(UNAME_RELEASE)" | 7 | default "/boot/config-$(shell,uname --release)" |
| 8 | default ARCH_DEFCONFIG | 8 | default ARCH_DEFCONFIG |
| 9 | default "arch/$(ARCH)/defconfig" | 9 | default "arch/$(ARCH)/defconfig" |
| 10 | 10 | ||
