summaryrefslogtreecommitdiffstats
path: root/lang/sdcc/files/patch-device-lib-pic-Makefile.rules
blob: 2cca46ac5f1610e0db836e41488618558311fd37 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- device/lib/pic/Makefile.rules.orig	Mon May  1 22:47:12 2006
+++ device/lib/pic/Makefile.rules	Thu Jun 29 00:39:50 2006
@@ -56,7 +56,7 @@
 ifneq (,$(strip $(SUBDIRS)))
 recurse : force
 	$(Q)+for DIR in $(SUBDIRS) ; do \
-		$(GREP) "^$${ARCH}$$" "$${DIR}.ignore" &> /dev/null || ( \
+		$(GREP) "^$${PICARCH}$$" "$${DIR}.ignore" 2>&1 /dev/null || ( \
 			$(MKDIR) "$(top_builddir)$(builddir)/$${DIR}"; \
 			$(MAKE) -C "$${DIR}" builddir="$(builddir)/$${DIR}" $(MAKECMDGOALS); \
 		) || exit 1; \
OpenPOWER on IntegriCloud