1# SPDX-License-Identifier: GPL-2.0+
2#
3# (C) Copyright 2000-2007
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5
6obj-y += \
7	fdt.o \
8	fdt_ro.o \
9	fdt_wip.o \
10	fdt_strerror.o \
11	fdt_sw.o \
12	fdt_rw.o \
13	fdt_empty_tree.o \
14	fdt_addresses.o
15
16obj-$(CONFIG_OF_LIBFDT_OVERLAY) += fdt_overlay.o
17
18ccflags-y := -I$(srctree)/scripts/dtc/libfdt \
19	-DFDT_ASSUME_MASK=$(CONFIG_$(SPL_TPL_)OF_LIBFDT_ASSUME_MASK)
20