summaryrefslogtreecommitdiffstats
path: root/rules.mk
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-02-04 17:24:10 +0900
committerTom Rini <trini@ti.com>2014-02-19 11:07:49 -0500
commit940db16d2e6ce69f769f790bf1def56978f0ac6c (patch)
tree1b2baa7449a5440ac82ffb1af1b5c6c02cdfd31f /rules.mk
parentad71fa9971aeb0340221f82884b7794c497322be (diff)
downloadtalos-obmc-uboot-940db16d2e6ce69f769f790bf1def56978f0ac6c.tar.gz
talos-obmc-uboot-940db16d2e6ce69f769f790bf1def56978f0ac6c.zip
tools: convert makefiles to kbuild style
Before this commit, makefiles under tools/ directory were implemented with their own way. This commit refactors them by using "hostprogs-y" variable. Several C sources have been added to wrap other C sources to simplify Makefile. For example, tools/crc32.c includes lib/crc32.c Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk5
1 files changed, 0 insertions, 5 deletions
diff --git a/rules.mk b/rules.mk
index f4510b7cb6..b36de4daa2 100644
--- a/rules.mk
+++ b/rules.mk
@@ -43,9 +43,4 @@ $(obj).depend.%: %.c
$(obj).depend.%: %.S
$(MAKE_DEPEND)
-$(HOSTOBJS): $(obj)%.o: %.c
- $(HOSTCC) $(HOSTCFLAGS) $(HOSTCFLAGS_$(@F)) $(HOSTCFLAGS_$(BCURDIR)) -o $@ $< -c
-$(NOPEDOBJS): $(obj)%.o: %.c
- $(HOSTCC) $(HOSTCFLAGS_NOPED) $(HOSTCFLAGS_$(@F)) $(HOSTCFLAGS_$(BCURDIR)) -o $@ $< -c
-
#########################################################################
OpenPOWER on IntegriCloud