aboutsummaryrefslogtreecommitdiff
path: root/lib/libfdt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libfdt/Makefile')
-rw-r--r--lib/libfdt/Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/lib/libfdt/Makefile b/lib/libfdt/Makefile
index 6ef8290..369bbf9 100644
--- a/lib/libfdt/Makefile
+++ b/lib/libfdt/Makefile
@@ -5,15 +5,22 @@
# SPDX-License-Identifier: GPL-2.0+
#
+# Use upstream code.
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
+ 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 \
+ fdt_wip.o \
+
+# U-Boot own file
+obj-y += fdt_region.o