This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Ian Lance Taylor <>] PATCH RFA: Remove prev-DIR/Makefile to force reconfigure

A ping for this simple patch.  Paolo said it looked good to him, but
that was before he became a build system maintainer.  Paolo, do you
want to approve it for real now?



--- Begin Message ---
There is code in the top level file to force
subdirectories to be reconfigured by removing DIR/Makefile.  That code
handles stage*-DIR.  However, if you have completed a bootstrap, the
directories will be named stage1-DIR and prev-DIR.  In order to
properly force a reconfigure, prev-DIR/Makefile needs to be removed

This patch does that.  Tested by running configure.  OK for mainline?
I will commit to src after approved for gcc.


2006-12-13  Ian Lance Taylor  <>

	* When removing Makefiles to force a reconfigure, also
	remove prev-DIR*/Makefile.
	* configure: Regenerate.

---	(revision 119766)
+++	(working copy)
@@ -1896,7 +1896,7 @@ for module in ${build_configdirs} ; do
 for module in ${configdirs} ; do
   if test -z "${no_recursion}"; then
-    for file in stage*-${module}/Makefile ${module}/Makefile; do
+    for file in stage*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile; do
       if test -f ${file}; then
 	echo 1>&2 "*** removing ${file} to force reconfigure"
 	rm -f ${file}

--- End Message ---

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]