Patchwork Fixes to make check_makefile_deps.sh work again

login
register
mail settings
Submitter Steven Bosscher
Date May 25, 2012, 11:38 p.m.
Message ID <CABu31nMhD8C9LR2S=+cDDwpZFtH3QGFu8aB+ZSKgvdd_KDT0rA@mail.gmail.com>
Download mbox | patch
Permalink /patch/161439/
State New
Headers show

Comments

Steven Bosscher - May 25, 2012, 11:38 p.m.
Hello,

The following patch was necessary to make check_makefile_deps.sh work
on powerpc64-unknown-linux-gnu. Is this OK?

Ciao!
Steven

 # Files which show up as dependencies other than through
unconditional #include.
 # This is an egrep pattern.
@@ -34,7 +34,7 @@
 set -e
 st=0

-if test -f c-common.o; then :; else
+if test -f c-family/c-common.o; then :; else
   echo "$0: rerun in an up to date build-tree/gcc directory" >&2
   exit 1
 fi

Patch

Index: contrib/ChangeLog
===================================================================
--- contrib/ChangeLog	(revision 187901)
+++ contrib/ChangeLog	(working copy)
@@ -1,3 +1,8 @@ 
+2012-05-25  Steven Bosscher  <steven at gcc dot gnu dot org>
+
+	* check_makefile_deps.sh: Add ecrti.o and ecrtn.o to the list of
+	objects to skip unconditionaly.  Check for c-common.o in c-family/.
+
 2012-05-25  H.J. Lu  <hongjiu dot lu at intel dot com>

 	PR bootstrap/53472
Index: contrib/check_makefile_deps.sh
===================================================================
--- contrib/check_makefile_deps.sh	(revision 187901)
+++ contrib/check_makefile_deps.sh	(working copy)
@@ -19,7 +19,7 @@ 

 # Skip some objects unconditionally; make sure each name in this list is
 # surrounded by spaces.
-skip=" crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o
crtfastmath.o crtprec64.o crtprec80.o crtprec32.o "
+skip=" crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o
crtfastmath.o crtprec64.o crtprec80.o crtprec32.o ecrti.o ecrtn.o "