Dan Handley | fc0c645 | 2016-06-02 15:28:23 +0100 | [diff] [blame] | 1 | # |
Chris Kay | fc07663 | 2024-05-01 13:04:58 +0000 | [diff] [blame] | 2 | # Copyright (c) 2016-2024, Arm Limited and Contributors. All rights reserved. |
Dan Handley | fc0c645 | 2016-06-02 15:28:23 +0100 | [diff] [blame] | 3 | # |
dp-arm | fa3cf0b | 2017-05-03 09:38:09 +0100 | [diff] [blame] | 4 | # SPDX-License-Identifier: BSD-3-Clause |
Dan Handley | fc0c645 | 2016-06-02 15:28:23 +0100 | [diff] [blame] | 5 | # |
6 | |||||
Chris Kay | fc07663 | 2024-05-01 13:04:58 +0000 | [diff] [blame] | 7 | ifndef libfdt-mk |
8 | libfdt-mk := 1 | ||||
Dan Handley | fc0c645 | 2016-06-02 15:28:23 +0100 | [diff] [blame] | 9 | |
Chris Kay | fc07663 | 2024-05-01 13:04:58 +0000 | [diff] [blame] | 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 | ||||
Roberto Vargas | 27bc9f9 | 2018-05-08 10:27:10 +0100 | [diff] [blame] | 21 | |
Chris Kay | fc07663 | 2024-05-01 13:04:58 +0000 | [diff] [blame] | 22 | $(eval $(call MAKE_LIB,fdt)) |
23 | endif |