diff options
author | Michael Brown | 2021-01-30 18:34:49 +0100 |
---|---|---|
committer | Michael Brown | 2021-01-30 18:34:49 +0100 |
commit | 5e260c73f17d9d2ccbe89244d322c0cb1586d2d8 (patch) | |
tree | aa3ca4cbfaaed0adcb01812ba0c5e3e71d99ade7 /src/Makefile.housekeeping | |
parent | [build] Allow elf2efi.c to build on FreeBSD (diff) | |
download | ipxe-5e260c73f17d9d2ccbe89244d322c0cb1586d2d8.tar.gz ipxe-5e260c73f17d9d2ccbe89244d322c0cb1586d2d8.tar.xz ipxe-5e260c73f17d9d2ccbe89244d322c0cb1586d2d8.zip |
[build] Avoid shell brace expansion in "make clean"
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/Makefile.housekeeping')
-rw-r--r-- | src/Makefile.housekeeping | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index 1155a0e8..822afdfe 100644 --- a/src/Makefile.housekeeping +++ b/src/Makefile.housekeeping @@ -1556,9 +1556,10 @@ hci/keymap/keymap_%.c : # ifeq ($(NUM_BINS),0) -ALLBINS := bin{,-*} -CLEANUP := $(patsubst $(BIN)/%,$(ALLBINS)/%,$(CLEANUP)) -VERYCLEANUP := $(patsubst $(BIN)/%,$(ALLBINS)/%,$(VERYCLEANUP)) +ALLBINS := bin bin-* +ALLBIN = $(foreach B,$(ALLBINS),$(patsubst $(BIN)/%,$(B)/%,$(1))) +CLEANUP := $(foreach C,$(CLEANUP),$(call ALLBIN,$(C))) +VERYCLEANUP := $(foreach V,$(VERYCLEANUP),$(call ALLBIN,$(V))) endif clean : |