diff options
| author | Masahiro Yamada <[email protected]> | 2018-01-21 19:19:13 +0900 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2018-01-28 12:27:30 -0500 |
| commit | ae9ace7089d2167cbf8a69a29705049ae11c8eea (patch) | |
| tree | 0b7e60a539711c42a9d46ae9ae02b70c2af714ef /lib/libfdt/Makefile | |
| parent | 94b13bbae90bfb94204b8fe9c531bc163e746a9f (diff) | |
libfdt: migrate fdt_rw.c to a wrapper of scripts/dtc/libfdt/fdt_rw.c
The only difference between scripts/dtc/libfdt/fdt_rw.c and
lib/libfdt/fdt_rw.c is fdt_remove_unused_strings().
It is only used by fdtgrep, so we do not need to compile it for U-Boot
image. Move it to tools/libfdt/fdw_rw.c so that lib/libfdt/fdt_rw.c
can be a wrapper of scripts/dtc/libfdt/fdt_rw.c.
Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'lib/libfdt/Makefile')
| -rw-r--r-- | lib/libfdt/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libfdt/Makefile b/lib/libfdt/Makefile index be42e946b79..4e3e12f505d 100644 --- a/lib/libfdt/Makefile +++ b/lib/libfdt/Makefile @@ -11,6 +11,7 @@ obj-y += \ fdt_wip.o \ fdt_strerror.o \ fdt_sw.o \ + fdt_rw.o \ fdt_empty_tree.o \ fdt_addresses.o @@ -18,9 +19,7 @@ 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 +obj-y += fdt_ro.o # U-Boot own file obj-y += fdt_region.o |
