summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-11-18 16:24:58 +0900
committerTom Rini <trini@ti.com>2013-11-25 10:41:54 -0500
commit017ce20f46e38df5c7d795c1b5f042f00a614d2b (patch)
treed5f44ceb2823ac8a13acfd15691064fda89d2751 /common
parent3c6dc17eaec13ddc622306a8ddd24b547be91aee (diff)
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 <yamada.m@jp.panasonic.com>
Diffstat (limited to 'common')
-rw-r--r--common/Makefile5
1 files changed, 1 insertions, 4 deletions
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)