* device/lib/pic/Makefile.rules,
authortecodev <tecodev@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 6 May 2007 20:08:22 +0000 (20:08 +0000)
committertecodev <tecodev@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 6 May 2007 20:08:22 +0000 (20:08 +0000)
* device/lib/pic16/Makefile.rules: make sure *.ignore file exists,
  made "&> /dev/null" redirection sh-safe ("> /dev/null 2>&1")

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4791 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
device/lib/pic/Makefile.rules
device/lib/pic16/Makefile.rules

index 77d7045d0e22be11117b6cec9d7e3f031ee66159..abe17e876578908936d5f79f11eeb42fe91a819f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-05-06 Raphael Neider <rneider AT web.de>
+
+       * device/lib/pic/Makefile.rules,
+       * device/lib/pic16/Makefile.rules: make sure *.ignore file exists,
+         made "&> /dev/null" redirection sh-safe ("> /dev/null 2>&1")
+
 2007-05-06 Raphael Neider <rneider AT web.de>
 
        * src/pic16/device.h,
index 7c2c114f0d4b64239a42954cf46bea5f306ef40b..3cb7efb80597449f7e2d4ad10a9867849153de5c 100644 (file)
@@ -56,7 +56,7 @@ endif
 ifneq (,$(strip $(SUBDIRS)))
 recurse : force
        $(Q)+for DIR in $(SUBDIRS) ; do \
-               $(GREP) "^$${ARCH}$$" "$${DIR}.ignore" &> /dev/null || ( \
+               [ -f "$(srcdir)/$${DIR}.ignore" ] && $(GREP) "^$${ARCH}$$" "$${DIR}.ignore" > /dev/null 2>&1 || ( \
                        $(MKDIR) "$(top_builddir)/$(builddir)/$${DIR}"; \
                        $(MAKE) -C "$${DIR}" builddir="$(builddir)/$${DIR}" $(MAKECMDGOALS); \
                ) || exit 1; \
index 9acdbc32568819e12699d783669434fdeeec3c21..405d6a4fcddd61b4e849fa09ef852981257b27b1 100644 (file)
@@ -60,7 +60,7 @@ endif
 ifneq (,$(strip $(SUBDIRS)))
 recurse : force
        $(Q)+for DIR in $(SUBDIRS) ; do \
-               $(GREP) "^$${ARCH}$$" "$(srcdir)/$${DIR}.ignore" &> /dev/null || ( \
+               [ -f "$(srcdir)/$${DIR}.ignore" ] && $(GREP) "^$${ARCH}$$" "$(srcdir)/$${DIR}.ignore" > /dev/null 2>&1 || ( \
                        $(MKDIR) "$(top_builddir)/$(builddir)/$${DIR}"; \
                        $(MAKE) -C "$${DIR}" builddir="$(builddir)/$${DIR}" $(MAKECMDGOALS); \
                ) || exit 1; \