libfdt: move headers to <linux/libfdt.h> and <linux/libfdt_env.h>
[oweals/u-boot.git] / lib / libfdt / Makefile
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.
9 obj-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
18 obj-$(CONFIG_OF_LIBFDT_OVERLAY) += fdt_overlay.o
19
20 # Locally modified for U-Boot.
21 # TODO: split out the local modifiction.
22 obj-y += fdt_ro.o
23
24 # U-Boot own file
25 obj-y += fdt_region.o
26
27 ccflags-y := -I$(srctree)/scripts/dtc/libfdt