[U-Boot] [PATCH] board: tqm5200: delete its own object make rule

Masahiro Yamada yamada.m at jp.panasonic.com
Mon Nov 18 02:39:39 CET 2013


Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
---

I cannot understand at all why this rule is necessary:

$(obj)cam5200_flash.o: cam5200_flash.c
       $(CC) $(CFLAGS) -c -o $@ $<

I confirmed the same binaries can be generated without
this rule.

I built all tqm5200 boards
(aev, cam5200, cam5200_niosflash, charon, fo300, MiniFAP,
TB5200, TB5200_B, TQM5200, TQM5200_B, TQM5200_B_HIGHBOOT,
TQM5200_STK100, TQM5200S, TQM5200S_HIGHBOOT)
and checked md5sum.

 board/tqc/tqm5200/Makefile | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/board/tqc/tqm5200/Makefile b/board/tqc/tqm5200/Makefile
index 757f472..80c1eba 100644
--- a/board/tqc/tqm5200/Makefile
+++ b/board/tqc/tqm5200/Makefile
@@ -6,6 +6,3 @@
 #
 
 obj-y	:= tqm5200.o cmd_stk52xx.o cmd_tb5200.o cam5200_flash.o
-
-$(obj)cam5200_flash.o:	cam5200_flash.c
-	$(CC) $(CFLAGS) -c -o $@ $<
-- 
1.8.3.2



More information about the U-Boot mailing list