aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-27 07:38:17 -0600
committerSimon Glass <sjg@chromium.org>2017-06-02 10:16:47 -0600
commit330274f19d287723e7f2dc507765e836639b7783 (patch)
tree98fc1019659f764cbe741587351141ee5c5266b1 /tools
parent7e91b10253ba649a8970852ed8756c67c86d27aa (diff)
downloadu-boot-330274f19d287723e7f2dc507765e836639b7783.zip
u-boot-330274f19d287723e7f2dc507765e836639b7783.tar.gz
u-boot-330274f19d287723e7f2dc507765e836639b7783.tar.bz2
fdt: Add all source files to the libfdt build
At present only a subset of source files are build. Add the rest and refactor this so that a source file list is available also. This will be used in later commit. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 2fc4a58..dadc75b 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -60,9 +60,11 @@ hostprogs-$(CONFIG_FIT_SIGNATURE) += fit_info fit_check_sign
FIT_SIG_OBJS-$(CONFIG_FIT_SIGNATURE) := common/image-sig.o
# Flattened device tree objects
-LIBFDT_OBJS := $(addprefix lib/libfdt/, \
- fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_wip.o \
- fdt_region.o fdt_sw.o)
+LIBFDT_CSRCS := fdt.c fdt_ro.c fdt_wip.c fdt_sw.c fdt_rw.c fdt_strerror.c \
+ fdt_empty_tree.c fdt_addresses.c fdt_overlay.c \
+ fdt_region.c
+LIBFDT_OBJS := $(addprefix lib/libfdt/, $(patsubst %.c, %.o, $(LIBFDT_CSRCS)))
+
RSA_OBJS-$(CONFIG_FIT_SIGNATURE) := $(addprefix lib/rsa/, \
rsa-sign.o rsa-verify.o rsa-checksum.o \
rsa-mod-exp.o)