mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-14 00:37:41 -04:00
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:
parent
a4ea2fa951
commit
9ebd9b4a56
3 changed files with 11 additions and 14 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||||
|
|
|
@ -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
10
Makefile.utils
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue