Skip to content

Commit 159363b

Browse files
committed
Makefile.inc: Prefix commands using make addprefix
Shell expansion does not always seem to work. Use make's built-in addprefix function when building the list of u-root commands. Signed-off-by: David Hendricks <david.hendricks@gmail.com>
1 parent 5912800 commit 159363b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Makefile.inc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,12 @@ ifdef COREBOOT_BLOBS_DIR
9494
COREBOOT_BLOBS_DIR := $(realpath $(COREBOOT_BLOBS_DIR))
9595
endif
9696

97+
UROOT_BOOT_CMDS := fbnetboot localboot systemboot
98+
UROOT_EXP_CMDS := cbmem dmidecode modprobe ipmidump
9799
UROOT_BASE_CMDS ?= \
98100
core \
99-
github.com/u-root/u-root/cmds/boot/{fbnetboot,localboot,systemboot} \
100-
github.com/u-root/u-root/cmds/exp/{cbmem,dmidecode,modprobe,ipmidump} \
101+
$(addprefix github.com/u-root/u-root/cmds/boot/, $(UROOT_BOOT_CMDS)) \
102+
$(addprefix github.com/u-root/u-root/cmds/exp/, $(UROOT_EXP_CMDS)) \
101103

102104
UROOT_ADDITIONAL_CMDS ?=
103105

0 commit comments

Comments
 (0)