aboutsummaryrefslogtreecommitdiff
path: root/lib/libfdt/Makefile
blob: 878659f99e64fa048a94d2cdcd9fc4b18bf19906 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# SPDX-License-Identifier: GPL-2.0+
#
# (C) Copyright 2000-2007
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.

obj-y += \
	fdt.o \
	fdt_ro.o \
	fdt_wip.o \
	fdt_strerror.o \
	fdt_sw.o \
	fdt_rw.o \
	fdt_empty_tree.o \
	fdt_addresses.o

obj-$(CONFIG_OF_LIBFDT_OVERLAY) += fdt_overlay.o

# U-Boot own file
obj-y += fdt_region.o

ccflags-y := -I$(srctree)/scripts/dtc/libfdt \
	-DFDT_ASSUME_MASK=$(CONFIG_$(SPL_TPL_)OF_LIBFDT_ASSUME_MASK)