]> git.sur5r.net Git - u-boot/blobdiff - lib/libfdt/Makefile
efi_loader: fix signature of efi_disconnect_controller
[u-boot] / lib / libfdt / Makefile
index 934d6142c3e9115bb5963d3c04e46563c8b72c3b..be42e946b794d5a43a6a24cbb72e54fee439050e 100644 (file)
@@ -5,5 +5,22 @@
 # 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 fdt_region.o
+# Use upstream code.
+obj-y += \
+       fdt.o \
+       fdt_wip.o \
+       fdt_strerror.o \
+       fdt_sw.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 \
+       fdt_rw.o
+
+# U-Boot own file
+obj-y += fdt_region.o