aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-10-18 19:11:14 -0400
committerTom Rini <trini@konsulko.com>2023-10-18 19:13:43 -0400
commitf19747a9f640ff9464186bfb6b454ab6d6bc6866 (patch)
tree4e97c347b97506f1273adb3fff0d3e4da4fc3abf
parentf168cd00dfc27a9495763c93daf3c3c0c7848d4e (diff)
downloadu-boot-f19747a9f640ff9464186bfb6b454ab6d6bc6866.zip
u-boot-f19747a9f640ff9464186bfb6b454ab6d6bc6866.tar.gz
u-boot-f19747a9f640ff9464186bfb6b454ab6d6bc6866.tar.bz2
bootmeth_script: Depend on CMDLINE
As this particular bootmeth requires the command line and assorted commands to function, make sure we have CMDLINE enabled. Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--boot/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/boot/Kconfig b/boot/Kconfig
index 7c92e09..40a04f4 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -543,7 +543,7 @@ config BOOTMETH_VBE
config BOOTMETH_DISTRO
bool # Options needed to boot any distro
- select BOOTMETH_SCRIPT # E.g. Armbian uses scripts
+ select BOOTMETH_SCRIPT if CMDLINE # E.g. Armbian uses scripts
select BOOTMETH_EXTLINUX # E.g. Debian uses these
select BOOTMETH_EXTLINUX_PXE if CMD_PXE && CMD_NET && DM_ETH
select BOOTMETH_EFILOADER if CMD_BOOTEFI # E.g. Ubuntu uses this
@@ -671,6 +671,7 @@ config BOOTMETH_SANDBOX
config BOOTMETH_SCRIPT
bool "Bootdev support for U-Boot scripts"
default y if BOOTSTD_FULL
+ depends on CMDLINE
select HUSH_PARSER
help
Enables support for booting a distro via a U-Boot script. This makes