tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

cookie handling in tools/Makefile.gmakehost & tools/Makefile.gnuhost



I believe .build_done and .install_done cookies should *not* be .PHONY.
Timestamp is the reason they're there.  This suppresses unneeded rebuild
in tools/.

Masao

Index: tools/Makefile.gmakehost
===================================================================
RCS file: /cvsroot/src/tools/Makefile.gmakehost,v
retrieving revision 1.5
diff -u -r1.5 Makefile.gmakehost
--- tools/Makefile.gmakehost    19 Oct 2008 22:05:23 -0000      1.5
+++ tools/Makefile.gmakehost    25 Nov 2009 04:00:58 -0000
@@ -111,8 +111,6 @@
        @(cd ${.OBJDIR}/build && /usr/bin/env -i ${BUILD_ENV} ${MAKE_ARGS} 
${TOOL_GMAKE} -e ${MAKE_ARGS} ${INSTALL_TARGET})
        @touch $@
 
-.PHONY: .build_done .install_done
-
 # Mapping to standard targets.
 
 .if ${USETOOLS} == "yes"
Index: tools/Makefile.gnuhost
===================================================================
RCS file: /cvsroot/src/tools/Makefile.gnuhost,v
retrieving revision 1.33
diff -u -r1.33 Makefile.gnuhost
--- tools/Makefile.gnuhost      19 Oct 2008 22:05:23 -0000      1.33
+++ tools/Makefile.gnuhost      25 Nov 2009 04:00:58 -0000
@@ -103,8 +103,6 @@
        @(cd ${.OBJDIR}/build && ${MAKE} ${MAKE_ARGS} ${INSTALL_TARGET})
        @touch $@
 
-.PHONY: .build_done .install_done
-
 # Mapping to standard targets.
 
 .if ${USETOOLS} == "yes"

-- 
Masao Uebayashi / Tombi Inc. / Tel: +81-90-9141-4635


Home | Main Index | Thread Index | Old Index