]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Remove inaccessible CMDLINE default
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Thu, 11 Jun 2020 22:42:19 +0000 (10:42 +1200)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 22 Jun 2020 00:37:56 +0000 (10:37 +1000)
commitc360004f61ffa72ab8369c7e0fc9e9edeb85d478
treeedc537cdf705f61a93da07019759cce6c9260763
parentba90253c8e607fc2cef392c71078cdc941d4624a
powerpc: Remove inaccessible CMDLINE default

Since commit 1e956cff4383 ("powerpc: remove CONFIG_CMDLINE #ifdef mess")
CONFIG_CMDLINE has always had a value regardless of CONFIG_CMDLINE_BOOL.

For example:

 $ make ARCH=powerpc defconfig
 $ cat .config
 # CONFIG_CMDLINE_BOOL is not set
 CONFIG_CMDLINE=""

When enabling CONFIG_CMDLINE_BOOL this value is kept making the 'default
"..." if CONFIG_CMDLINE_BOOL' ineffective.

 $ ./scripts/config --enable CONFIG_CMDLINE_BOOL
 $ cat .config
 CONFIG_CMDLINE_BOOL=y
 CONFIG_CMDLINE=""

Remove CONFIG_CMDLINE_BOOL and the inaccessible default.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200611224220.25066-2-chris.packham@alliedtelesis.co.nz
arch/powerpc/Kconfig