Commit fec36484 authored by Roberto Vargas's avatar Roberto Vargas
Browse files

Create a library file for libfdt



TF Makefile was linking all the objects files generated for the
fdt library instead of creating a static library that could be
used in the linking stage.

Change-Id: If3705bba188ec39e1fbf2322a7f2a9a941e1b90d
Signed-off-by: default avatarRoberto Vargas <roberto.vargas@arm.com>
parent 5fee0287
...@@ -15,3 +15,5 @@ LIBFDT_SRCS := $(addprefix lib/libfdt/, \ ...@@ -15,3 +15,5 @@ LIBFDT_SRCS := $(addprefix lib/libfdt/, \
fdt_wip.c) \ fdt_wip.c) \
INCLUDES += -Iinclude/lib/libfdt INCLUDES += -Iinclude/lib/libfdt
$(eval $(call MAKE_LIB,fdt))
...@@ -185,8 +185,7 @@ include lib/libfdt/libfdt.mk ...@@ -185,8 +185,7 @@ include lib/libfdt/libfdt.mk
DYN_CFG_SOURCES += plat/arm/common/arm_dyn_cfg.c \ DYN_CFG_SOURCES += plat/arm/common/arm_dyn_cfg.c \
plat/arm/common/arm_dyn_cfg_helpers.c \ plat/arm/common/arm_dyn_cfg_helpers.c \
common/fdt_wrappers.c \ common/fdt_wrappers.c
${LIBFDT_SRCS}
BL1_SOURCES += ${DYN_CFG_SOURCES} BL1_SOURCES += ${DYN_CFG_SOURCES}
BL2_SOURCES += ${DYN_CFG_SOURCES} BL2_SOURCES += ${DYN_CFG_SOURCES}
......
...@@ -132,8 +132,7 @@ BL2_SOURCES += drivers/io/io_semihosting.c \ ...@@ -132,8 +132,7 @@ BL2_SOURCES += drivers/io/io_semihosting.c \
plat/qemu/qemu_io_storage.c \ plat/qemu/qemu_io_storage.c \
plat/qemu/${ARCH}/plat_helpers.S \ plat/qemu/${ARCH}/plat_helpers.S \
plat/qemu/qemu_bl2_setup.c \ plat/qemu/qemu_bl2_setup.c \
plat/qemu/dt.c \ plat/qemu/dt.c
$(LIBFDT_SRCS)
ifeq (${LOAD_IMAGE_V2},1) ifeq (${LOAD_IMAGE_V2},1)
BL2_SOURCES += plat/qemu/qemu_bl2_mem_params_desc.c \ BL2_SOURCES += plat/qemu/qemu_bl2_mem_params_desc.c \
plat/qemu/qemu_image_load.c \ plat/qemu/qemu_image_load.c \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment