[Pdbg] [PATCH 1/3] configure: Add subdir build for libfdt

Amitay Isaacs amitay at ozlabs.org
Fri May 10 14:11:25 AEST 2019


Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
 libfdt/Makefile.am  | 21 +++++++++++++++++++++
 libfdt/configure.ac | 11 +++++++++++
 2 files changed, 32 insertions(+)
 create mode 100644 libfdt/Makefile.am
 create mode 100644 libfdt/configure.ac

diff --git a/libfdt/Makefile.am b/libfdt/Makefile.am
new file mode 100644
index 0000000..df82d55
--- /dev/null
+++ b/libfdt/Makefile.am
@@ -0,0 +1,21 @@
+AUTOMAKE_OPTIONS = foreign
+AM_MAKEFLAGS = --no-print-directory
+
+ACLOCAL_AMFLAGS = -Im4
+
+lib_LTLIBRARIES = libfdt.la
+
+libfdt_la_SOURCES = \
+	fdt_addresses.c \
+	fdt.c \
+	fdt_empty_tree.c \
+	fdt.h \
+	fdt_overlay.c \
+	fdt_ro.c \
+	fdt_rw.c \
+	fdt_strerror.c \
+	fdt_sw.c \
+	fdt_wip.c \
+	libfdt_env.h \
+	libfdt.h \
+	libfdt_internal.h
diff --git a/libfdt/configure.ac b/libfdt/configure.ac
new file mode 100644
index 0000000..95a4b76
--- /dev/null
+++ b/libfdt/configure.ac
@@ -0,0 +1,11 @@
+AC_INIT([libfdt], [1.2])
+AM_INIT_AUTOMAKE([subdir-objects])
+AM_SILENT_RULES([yes])
+
+AC_PROG_CC
+AC_PROG_LIBTOOL
+
+AC_CONFIG_MACRO_DIR([m4])
+AC_CONFIG_FILES([Makefile])
+
+AC_OUTPUT
-- 
2.20.1



More information about the Pdbg mailing list