common: Delete unnecessary rules.
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Mon, 18 Nov 2013 07:24:58 +0000 (16:24 +0900)
committerTom Rini <trini@ti.com>
Mon, 25 Nov 2013 15:41:54 +0000 (10:41 -0500)
The directory tools/ is always built before common/.
So when envcrc tool is necessary in common/Makefile,
it already exists.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
common/Makefile

index 32acbf93570cce26044c17eee4b8c79cf4b13c38..74404beb3635624cf04fa12159f66f531e638dc7 100644 (file)
@@ -232,14 +232,11 @@ obj-y += stdio.o
 
 CPPFLAGS += -I..
 
-$(obj)env_embedded.o: $(src)env_embedded.c $(obj)../tools/envcrc
+$(obj)env_embedded.o: $(src)env_embedded.c
        $(CC) $(AFLAGS) -Wa,--no-warn \
                -DENV_CRC=$(shell $(obj)../tools/envcrc) \
                -c -o $@ $(src)env_embedded.c
 
-$(obj)../tools/envcrc:
-       $(MAKE) -C ../tools
-
 # SEE README.arm-unaligned-accesses
 $(obj)hush.o: CFLAGS += $(PLATFORM_NO_UNALIGNED)
 $(obj)fdt_support.o: CFLAGS += $(PLATFORM_NO_UNALIGNED)