There was an error while loading. Please reload this page.
1 parent f28759d commit 57842b1Copy full SHA for 57842b1
1 file changed
toolchain/GNUmakefile
@@ -36,7 +36,9 @@ $(V).SILENT:
36
bin:
37
mkdir -p $@
38
39
-bin/$(CONFIG_TARGET_TRIPLE)-%: %.in | bin
+# Depend on Makeconf so a reconfigure that changes a tool path regenerates the
40
+# wrapper instead of leaving a stale one.
41
+bin/$(CONFIG_TARGET_TRIPLE)-%: %.in $(TOPDIR)/Makeconf | bin
42
@echo "SUBST $@"
43
sed -e 's!@@CONFIG_TARGET_ARCH@@!$(CONFIG_TARGET_ARCH)!g' \
44
-e 's!@@CONFIG_TARGET_TRIPLE@@!$(CONFIG_TARGET_TRIPLE)!g' \
0 commit comments