mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2026-07-03 05:02:40 +00:00
Where previously we cherry-picked individual sources from the libfdt project tree, this change instead integrates the entire project tree into the TF-A repository. Doing so reduces the manual overhead of updating libfdt in the future, as we avoid the need to analyse individual source-level dependencies. libfdt, conveniently, also provides a Makefile designed to ease its integration into foreign build systems (like TF-A's), which we also make use of in this change. Source: https://git.kernel.org/pub/scm/utils/dtc/dtc.git/tree/?h=v1.7.2 Change-Id: I8babcfd27019fdd6d255d550491e1bb733745f27 Signed-off-by: Chris Kay <chris.kay@arm.com>
23 lines
783 B
Makefile
23 lines
783 B
Makefile
# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
|
|
# Makefile.libfdt
|
|
#
|
|
# This is not a complete Makefile of itself. Instead, it is designed to
|
|
# be easily embeddable into other systems of Makefiles.
|
|
#
|
|
|
|
LIBFDT_so = libfdt.$(SHAREDLIB_EXT)
|
|
LIBFDT_soname = libfdt.$(SHAREDLIB_EXT).1
|
|
LIBFDT_INCLUDES = fdt.h libfdt.h libfdt_env.h
|
|
LIBFDT_VERSION = version.lds
|
|
LIBFDT_SRCS = 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_check.c
|
|
LIBFDT_OBJS = $(LIBFDT_SRCS:%.c=%.o)
|
|
LIBFDT_LIB = libfdt.$(SHAREDLIB_EXT).$(DTC_VERSION)
|
|
|
|
libfdt_clean:
|
|
@$(VECHO) CLEAN "(libfdt)"
|
|
rm -f $(STD_CLEANFILES:%=$(LIBFDT_dir)/%)
|
|
rm -f $(LIBFDT_dir)/$(LIBFDT_so)
|
|
rm -f $(LIBFDT_dir)/$(LIBFDT_soname)
|
|
rm -f $(LIBFDT_dir)/$(LIBFDT_LIB)
|