configs: colibri_imx7: enable DM_VIDEO
[oweals/u-boot.git] / lib / libfdt / Makefile
index 2f5413f90d6797122875dfc9d8c547dee5162406..ef5b6e29d46afaa5f27497d9d5be0497243bf2f7 100644 (file)
@@ -1,9 +1,25 @@
+# SPDX-License-Identifier: GPL-2.0+
 #
 # (C) Copyright 2000-2007
 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
-#
-# SPDX-License-Identifier:     GPL-2.0+
-#
 
-obj-y += fdt.o fdt_ro.o fdt_rw.o fdt_strerror.o fdt_sw.o fdt_wip.o \
-       fdt_empty_tree.o fdt_addresses.o
+# Use upstream code.
+obj-y += \
+       fdt.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
+
+# Locally modified for U-Boot.
+# TODO: split out the local modifiction.
+obj-y += fdt_ro.o
+
+# U-Boot own file
+obj-y += fdt_region.o
+
+ccflags-y := -I$(srctree)/scripts/dtc/libfdt