diff options
author | Simon Glass <sjg@chromium.org> | 2011-09-21 13:32:44 -0700 |
---|---|---|
committer | Jon Loeliger <jdl@jdl.com> | 2011-09-22 10:16:28 -0500 |
commit | 9ebd9b4a56e54656431111e5ea7cd74e651910bf (patch) | |
tree | 3f0dc9a5b8d0e8581c339f50bfa6137da11bb2cd | |
parent | a4ea2fa9518ff0f4d7f4a08647599a727faac2e0 (diff) | |
download | dtc-9ebd9b4a56e54656431111e5ea7cd74e651910bf.tar.gz |
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>
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | Makefile.ftdump | 13 | ||||
-rw-r--r-- | Makefile.utils | 10 |
3 files changed, 11 insertions, 14 deletions
@@ -105,7 +105,7 @@ endef include Makefile.convert-dtsv0 include Makefile.dtc -include Makefile.ftdump +include Makefile.utils BIN += convert-dtsv0 BIN += dtc diff --git a/Makefile.ftdump b/Makefile.ftdump deleted file mode 100644 index 2744a18..0000000 --- a/Makefile.ftdump +++ /dev/null @@ -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) diff --git a/Makefile.utils b/Makefile.utils new file mode 100644 index 0000000..0ed9297 --- /dev/null +++ b/Makefile.utils @@ -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) |