lib/libfdt/libfdt.mk
raw| 1 | # |
| 2 | # Copyright (c) 2016-2024, Arm Limited and Contributors. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | ifndef libfdt-mk |
| 8 | libfdt-mk := 1 |
| 9 | |
| 10 | 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 |
| 21 | |
| 22 | $(eval $(call MAKE_LIB,fdt)) |
| 23 | endif |