diff mbox

[build] : Update x-linux and t-linux-android for automatic dependencies

Message ID CAFULd4YZtP9ncpC2Monw=q+pqE1uFxKpsjNW2wRR0dmj8mE=BA@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Oct. 2, 2013, 9:23 p.m. UTC
Hello!

2013-10-02  Uros Bizjak  <ubizjak@gmail.com>

    * config/x-linux (host-linux.o): Remove header dependencies.
    Use $(COMPILE) and $(POSTCOMPILE).
    * config/t-linux-android (linux-android.o): Ditto.

Bootstrapped on x86_64-pc-linux-gnu and committed to mainline.

Uros.
diff mbox

Patch

Index: config/t-linux-android
===================================================================
--- config/t-linux-android	(revision 203130)
+++ config/t-linux-android	(working copy)
@@ -1,5 +1,4 @@ 
-# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013
-# Free Software Foundation, Inc.
+# Copyright (C) 2002-2013 Free Software Foundation, Inc.
 #
 # This file is part of GCC.
 #
@@ -17,7 +16,6 @@ 
 # along with GCC; see the file COPYING3.  If not see
 # <http://www.gnu.org/licenses/>.
 
-linux-android.o: $(srcdir)/config/linux-android.c $(CONFIG_H) $(SYSTEM_H) \
-  coretypes.h $(TM_H) $(TM_P_H)
-	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
-		$(srcdir)/config/linux-android.c
+linux-android.o: $(srcdir)/config/linux-android.c
+	  $(COMPILE) $<
+	  $(POSTCOMPILE)
Index: config/x-linux
===================================================================
--- config/x-linux	(revision 203130)
+++ config/x-linux	(working copy)
@@ -1,4 +1,3 @@ 
-host-linux.o : $(srcdir)/config/host-linux.c $(CONFIG_H) $(SYSTEM_H) \
-  coretypes.h hosthooks.h hosthooks-def.h $(HOOKS_H)
-	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
-		$(srcdir)/config/host-linux.c
+host-linux.o : $(srcdir)/config/host-linux.c
+	  $(COMPILE) $<
+	  $(POSTCOMPILE)