init/Kconfig: Use short unix-style option instead of --longname
authorRob Landley <rob@landley.net>
Wed, 8 Aug 2018 04:06:43 +0000 (13:06 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 9 Aug 2018 12:50:43 +0000 (21:50 +0900)
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>
init/Kconfig

index 041f3a0..192d400 100644 (file)
@@ -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"