From: Masahiro Yamada Date: Mon, 18 Nov 2013 07:24:58 +0000 (+0900) Subject: common: Delete unnecessary rules. X-Git-Tag: v2014.01-rc1~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=017ce20f46e38df5c7d795c1b5f042f00a614d2b;p=u-boot common: Delete unnecessary rules. 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 --- diff --git a/common/Makefile b/common/Makefile index 32acbf9357..74404beb36 100644 --- a/common/Makefile +++ b/common/Makefile @@ -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)