xref: /openbmc/u-boot/lib/libfdt/Makefile (revision 9c0e2f6e)
1#
2# (C) Copyright 2000-2007
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# SPDX-License-Identifier:	GPL-2.0+
6#
7
8# Use upstream code.
9obj-y += \
10	fdt.o \
11	fdt_wip.o \
12	fdt_strerror.o \
13	fdt_sw.o \
14	fdt_rw.o \
15	fdt_empty_tree.o \
16	fdt_addresses.o
17
18obj-$(CONFIG_OF_LIBFDT_OVERLAY) += fdt_overlay.o
19
20# Locally modified for U-Boot.
21# TODO: split out the local modifiction.
22obj-y += fdt_ro.o
23
24# U-Boot own file
25obj-y += fdt_region.o
26
27ccflags-y := -I$(srctree)/scripts/dtc/libfdt
28