blob: c7f54049d3a3a37b916d87eb5ec647a411a865d8 [file] [log] [blame]
Dan Handleyfc0c6452016-06-02 15:28:23 +01001#
Chris Kayfc076632024-05-01 13:04:58 +00002# Copyright (c) 2016-2024, Arm Limited and Contributors. All rights reserved.
Dan Handleyfc0c6452016-06-02 15:28:23 +01003#
dp-armfa3cf0b2017-05-03 09:38:09 +01004# SPDX-License-Identifier: BSD-3-Clause
Dan Handleyfc0c6452016-06-02 15:28:23 +01005#
6
Chris Kayfc076632024-05-01 13:04:58 +00007ifndef libfdt-mk
8 libfdt-mk := 1
Dan Handleyfc0c6452016-06-02 15:28:23 +01009
Chris Kayfc076632024-05-01 13:04:58 +000010 LIBFDT_SRCS := $(addprefix lib/libfdt/, \
11 fdt.c \
12 fdt_addresses.c \
13 fdt_empty_tree.c \
14 fdt_ro.c \
15 fdt_rw.c \
16 fdt_strerror.c \
17 fdt_sw.c \
18 fdt_wip.c)
19
20 INCLUDES += -Iinclude/lib/libfdt
Roberto Vargas27bc9f92018-05-08 10:27:10 +010021
Chris Kayfc076632024-05-01 13:04:58 +000022 $(eval $(call MAKE_LIB,fdt))
23endif