ref: f8e18c25020d34e589f51f0436a62f2284ca2ec3
parent: 563304a2fe0872c22fc8a1066673276d551029c6
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Mar 3 13:13:53 EST 2017
Remove subshell in Makefile Removing the subshell makes that make fails just at that point and nothing else is done and the error is reported to the user
--- a/Makefile
+++ b/Makefile
@@ -17,10 +17,12 @@
ln -f driver/$(DRIVER)/scc bin/scc
$(ARCHS):
+ pwd=$PWD ;\
for i in cc1 cc2; \
do \
- (cd $$i; \
- ARCH=$@ $(MAKE) -e $$i-$@ || exit); \
+ cd $$i; \
+ ARCH=$@ $(MAKE) -e $$i-$@ || exit; \
+ cd $pwd ;\
done
ln -f cc1/cc1-$@ bin/
ln -f cc2/cc2-$@ bin/