]> git.sur5r.net Git - u-boot/blobdiff - lib/libfdt/Makefile
efi_loader: fix signature of efi_disconnect_controller
[u-boot] / lib / libfdt / Makefile
index 6fe79e0b06e9c422b6bfcfffd8fdd968872960dc..be42e946b794d5a43a6a24cbb72e54fee439050e 100644 (file)
@@ -5,8 +5,22 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
-COBJS-libfdt += 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_empty_tree.o \
+       fdt_addresses.o
 
-obj-$(CONFIG_OF_LIBFDT) += $(COBJS-libfdt)
-obj-$(CONFIG_FIT) += $(COBJS-libfdt)
+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