diff mbox series

[RESEND] init/Kconfig: Use short unix-style option instead of --longname

Message ID 1533701203-31019-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 47f38ae08df0aebb0e43fca50bf380aefea1f4d1
Headers show
Series [RESEND] init/Kconfig: Use short unix-style option instead of --longname | expand

Commit Message

Masahiro Yamada Aug. 8, 2018, 4:06 a.m. UTC
From: Rob Landley <rob@landley.net>


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>

---

This was sent to the trivial ML some time ago,
but not applied yet.

I will apply this to kbuild tree for v4.19

[yamada.masahiro@socionext.com
 Move the patch description under '---'
 to the commit log body.
]


 init/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.7.4

Comments

Rob Landley Aug. 8, 2018, 5:19 p.m. UTC | #1
On 08/07/2018 11:06 PM, Masahiro Yamada wrote:
> From: Rob Landley <rob@landley.net>

> 

> 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>

> ---

> 

> This was sent to the trivial ML some time ago,

> but not applied yet.

> 

> I will apply this to kbuild tree for v4.19


Thank you.

(I have a pile of small kernel fixes but haven't had time+energy to follow up on
them recently.)

Rob
diff mbox series

Patch

diff --git a/init/Kconfig b/init/Kconfig
index 794a1b1..944b1fd 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"