[PATCH 0/1] [PATCH] ARM: qemu-arm: Fix build fail with boot devices disabled
Piotr Kubik
piotr_kubik at vp.pl
Wed Dec 29 14:30:03 CET 2021
BOOT_TARGET_DEVICES should only be added if the corresponding u-boot
command is enabled otherwise the build will fail like:
include/config_distro_bootcmd.h:241:2: error: expected '}' before 'BOOT_TARGET_DEVICES_references_SCSI_without_CONFIG_SCSI'
BOOT_TARGET_DEVICES_references_SCSI_without_CONFIG_SCSI
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/config_distro_bootcmd.h:241:2: note: in definition of macro 'BOOTENV_DEV_NAME_SCSI'
BOOT_TARGET_DEVICES_references_SCSI_without_CONFIG_SCSI
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/configs/qemu-arm.h:26:2: note: in expansion of macro 'BOOTENV_DEV_NAME'
func(SCSI, scsi, 0) \
^~~~
Tested with CONFIG_USB and CONFIG_SCSI disabled & enabled.
Piotr Kubik (1):
ARM: qemu-arm: Fix build fail with boot devices disabled
include/configs/qemu-arm.h | 32 ++++++++++++++++++++++++++++----
1 file changed, 28 insertions(+), 4 deletions(-)
--
2.25.1
More information about the U-Boot
mailing list