summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKevin Mills <43148204+sifivekevin@users.noreply.github.com>2019-01-23 14:21:15 -0800
committerGitHub <noreply@github.com>2019-01-23 14:21:15 -0800
commit21560f6542edb9394e33f764ea70b72e710c7bf0 (patch)
treed8a8925781bd9870578018563e79e584b7d0324e /Makefile
parentfbca611e3df9a4c5e65ef0b4e122bd11002c81af (diff)
parentafdf20cbfb3c1d7d1e6987bba10986649ae07e94 (diff)
Merge pull request #153 from sifive/better-makefile-comment
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