diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2014-11-24 09:40:04 +0100 |
---|---|---|
committer | Ley Foon Tan <lftan@altera.com> | 2014-12-08 05:56:14 +0100 |
commit | 2b2b4074e647f4e88c9601e14f834f4a3a379d2a (patch) | |
tree | c523b4530a6b6a4aa02ef030a135c15eca4ac097 /net/rxrpc | |
parent | nios2: Add missing NR_CPUS to Kconfig (diff) | |
download | linux-2b2b4074e647f4e88c9601e14f834f4a3a379d2a.tar.xz linux-2b2b4074e647f4e88c9601e14f834f4a3a379d2a.zip |
nios2: Make NIOS2_CMDLINE_IGNORE_DTB depend on CMDLINE_BOOL
If NIOS2_CMDLINE_IGNORE_DTB is selected but CMDLINE_BOOL isn't and thus
CONFIG_CMDLINE is not defined, the build fails with the following error:
arch/nios2/kernel/setup.c: In function 'nios2_boot_init':
arch/nios2/kernel/setup.c:131:30: error: 'CONFIG_CMDLINE' undeclared
(first use in this function)
strncpy(boot_command_line, CONFIG_CMDLINE, COMMAND_LINE_SIZE);
This can be reproduced using randconfig with KCONFIG_SEED=0xE5B8749E, i.e.
'make KCONFIG_SEED=0xE5B8749E ARCH=nios2 randconfig'.
Fix this by letting NIOS2_CMDLINE_IGNORE_DTB depend on CMDLINE_BOOL, so we
actually have a default kernel command string to fall back to.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'net/rxrpc')
0 files changed, 0 insertions, 0 deletions