summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKevin Mills <kevin.mills@sifive.com>2019-01-23 14:05:33 -0800
committerKevin Mills <kevin.mills@sifive.com>2019-01-23 14:05:33 -0800
commitafdf20cbfb3c1d7d1e6987bba10986649ae07e94 (patch)
treed8a8925781bd9870578018563e79e584b7d0324e /Makefile
parentfbca611e3df9a4c5e65ef0b4e122bd11002c81af (diff)
Move comment out of recipe and prevent var expansion
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6adc317..5dcc215 100644
--- a/Makefile
+++ b/Makefile
@@ -203,6 +203,8 @@ $(STANDALONE_DEST):
$(STANDALONE_DEST)/%:
mkdir -p $@
+# We have to use $$(shell ls ...) in this recipe instead of $$(wildcard) so that we
+# pick up $$(BSP_DIR)/install
standalone: \
$(STANDALONE_DEST) \
$(STANDALONE_DEST)/bsp \
@@ -211,8 +213,6 @@ standalone: \
$(BSP_DIR)/install/lib/libmee-gloss.a \
$(SRC_DIR) \
scripts/standalone.mk
- # We have to use $(shell ls ...) here instead of $(wildcard) so that we
- # pick up $(BSP_DIR)/install
cp -r $(addprefix $(BSP_DIR)/,$(filter-out build,$(shell ls $(BSP_DIR)))) $</bsp/
$(MAKE) -C $(SRC_DIR) clean