xref: /openbmc/u-boot/lib/libfdt/Makefile (revision 3ba98ed8)
1# SPDX-License-Identifier: GPL-2.0+
2#
3# (C) Copyright 2000-2007
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5
6# Use upstream code.
7obj-y += \
8	fdt.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
18# Locally modified for U-Boot.
19# TODO: split out the local modifiction.
20obj-y += fdt_ro.o
21
22# U-Boot own file
23obj-y += fdt_region.o
24
25ccflags-y := -I$(srctree)/scripts/dtc/libfdt
26