+# SPDX-License-Identifier: GPL-2.0+
#
# (C) Copyright 2000-2007
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
-#
-# SPDX-License-Identifier: GPL-2.0+
-#
# Use upstream code.
obj-y += \
fdt_wip.o \
fdt_strerror.o \
fdt_sw.o \
+ fdt_rw.o \
fdt_empty_tree.o \
fdt_addresses.o
# Locally modified for U-Boot.
# TODO: split out the local modifiction.
-obj-y += \
- fdt_ro.o \
- fdt_rw.o
+obj-y += fdt_ro.o
# U-Boot own file
obj-y += fdt_region.o
+
+ccflags-y := -I$(srctree)/scripts/dtc/libfdt