summary refs log tree commit diff
path: root/init
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2018-08-08 13:06:43 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-08-09 21:50:43 +0900
commit47f38ae08df0aebb0e43fca50bf380aefea1f4d1 (patch)
tree26761e3f72018766081605450bb5a306effc03cb /init
parentb5cdca7361d083638dc7f422fe8e1ae77860f6a6 (diff)
downloadlinux-47f38ae08df0aebb0e43fca50bf380aefea1f4d1.tar.gz
init/Kconfig: Use short unix-style option instead of --longname
Avoids warning messages with the latest release of toybox, which never
bothered to implement the --longopts nothing was using.

Signed-off-by: Rob Landley <rob@landley.net>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 041f3a022122..192d4006d57a 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -2,9 +2,9 @@ config DEFCONFIG_LIST
 	string
 	depends on !UML
 	option defconfig_list
-	default "/lib/modules/$(shell,uname --release)/.config"
+	default "/lib/modules/$(shell,uname -r)/.config"
 	default "/etc/kernel-config"
-	default "/boot/config-$(shell,uname --release)"
+	default "/boot/config-$(shell,uname -r)"
 	default ARCH_DEFCONFIG
 	default "arch/$(ARCH)/defconfig"