[PATCH v4 1/6] Create Makefile.utils and move ftdump into it
Simon Glass
sjg at chromium.org
Thu Sep 22 06:32:44 EST 2011
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 at gibson.dropbear.id.au>
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v3:
- Use Makefile.utils instead of separate Makefiles
Makefile | 2 +-
Makefile.ftdump | 13 -------------
Makefile.utils | 10 ++++++++++
3 files changed, 11 insertions(+), 14 deletions(-)
delete mode 100644 Makefile.ftdump
create mode 100644 Makefile.utils
diff --git a/Makefile b/Makefile
index 2172d9a..380a705 100644
--- a/Makefile
+++ b/Makefile
@@ -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)
--
1.7.3.1
More information about the devicetree-discuss
mailing list