diff options
author | Michael Brown <mcb30@ipxe.org> | 2021-01-30 17:34:49 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2021-01-30 17:34:49 +0000 |
commit | 5e260c73f17d9d2ccbe89244d322c0cb1586d2d8 (patch) | |
tree | aa3ca4cbfaaed0adcb01812ba0c5e3e71d99ade7 /src/Makefile.housekeeping | |
parent | f034ae59f63b1ac279981e6de3f1e67ca8bbe3a0 (diff) | |
download | ipxe-5e260c73f17d9d2ccbe89244d322c0cb1586d2d8.tar.gz |
[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 1155a0e80..822afdfe5 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 : |