[coreboot] [flashrom] r626 - trunk

svn at coreboot.org svn at coreboot.org
Tue Jun 23 13:48:37 CEST 2009


Author: hailfinger
Date: 2009-06-23 13:48:37 +0200 (Tue, 23 Jun 2009)
New Revision: 626

Modified:
   trunk/Makefile
Log:
The makefile rules for %.o and flashrom.o are identical. Let %.o handle
flashrom.o as well.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Acked-by: Luc Verhaegen <libv at skynet.be>


Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2009-06-23 11:33:43 UTC (rev 625)
+++ trunk/Makefile	2009-06-23 11:48:37 UTC (rev 626)
@@ -71,11 +71,8 @@
 
 FEATURE_LIBS = $(shell LANG=C grep -q "FTDISUPPORT := yes" .features && printf "%s" "-lftdi")
 
-flashrom.o: flashrom.c .features
-	$(CC) $(CFLAGS) $(CPPFLAGS) $(FEATURE_CFLAGS) -c -o $@ $< $(SVNDEF)
-
 %.o: %.c .features
-	$(CC) $(CFLAGS) $(CPPFLAGS) $(FEATURE_CFLAGS) -c $< -o $@ $(SVNDEF)
+	$(CC) $(CFLAGS) $(CPPFLAGS) $(FEATURE_CFLAGS) $(SVNDEF) -o $@ -c $<
 
 clean:
 	rm -f $(PROGRAM) *.o





More information about the coreboot mailing list