Create Makefile.utils and move ftdump into it

We want to avoid a separate Makefile include for each utility, so this sets
up a general one for utilities.

Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2011-09-21 13:32:44 -07:00 committed by Jon Loeliger
parent a4ea2fa951
commit 9ebd9b4a56
3 changed files with 11 additions and 14 deletions

View file

@ -105,7 +105,7 @@ endef
include Makefile.convert-dtsv0 include Makefile.convert-dtsv0
include Makefile.dtc include Makefile.dtc
include Makefile.ftdump include Makefile.utils
BIN += convert-dtsv0 BIN += convert-dtsv0
BIN += dtc BIN += dtc

View file

@ -1,13 +0,0 @@
#
# This is not a complete Makefile of itself.
# Instead, it is designed to be easily embeddable
# into other systems of Makefiles.
#
FTDUMP_SRCS = \
ftdump.c \
util.c
FTDUMP_GEN_SRCS =
FTDUMP_OBJS = $(FTDUMP_SRCS:%.c=%.o) $(FTDUMP_GEN_SRCS:%.c=%.o)

10
Makefile.utils Normal file
View file

@ -0,0 +1,10 @@
#
# This is not a complete Makefile of itself. Instead, it is designed to
# be easily embeddable into other systems of Makefiles.
#
FTDUMP_SRCS = \
ftdump.c \
util.c
FTDUMP_OBJS = $(FTDUMP_SRCS:%.c=%.o)