summaryrefslogtreecommitdiff
path: root/tools/easylogo
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 /tools/easylogo
parentad71fa9971aeb0340221f82884b7794c497322be (diff)
downloadu-boot-imx-940db16d2e6ce69f769f790bf1def56978f0ac6c.zip
u-boot-imx-940db16d2e6ce69f769f790bf1def56978f0ac6c.tar.gz
u-boot-imx-940db16d2e6ce69f769f790bf1def56978f0ac6c.tar.bz2
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 'tools/easylogo')
-rw-r--r--tools/easylogo/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/tools/easylogo/Makefile b/tools/easylogo/Makefile
index d8e28b0..10aba2b 100644
--- a/tools/easylogo/Makefile
+++ b/tools/easylogo/Makefile
@@ -1,11 +1,3 @@
-include $(TOPDIR)/config.mk
+hostprogs-y := easylogo
-all: $(obj)easylogo
-
-$(obj)easylogo: $(SRCTREE)/tools/easylogo/easylogo.c
- $(HOSTCC) $(HOSTCFLAGS_NOPED) $(HOSTLDFLAGS) -o $@ $^
-
-clean:
- rm -f $(obj)easylogo
-
-.PHONY: all clean
+always := $(hostprogs-y)