diff options
author | Pantelis Antoniou <pantelis.antoniou@konsulko.com> | 2017-06-14 17:51:11 +0300 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-06-15 15:37:07 +0800 |
commit | 42409146f2db22d71559154fa1233694c964cc14 (patch) | |
tree | aef1f47d2df86f34cf1d303bd3fe7818fb298623 /Makefile | |
parent | aae22722fc8d93d88b40c3621705917d74244ca7 (diff) | |
download | dtc-42409146f2db22d71559154fa1233694c964cc14.zip dtc-42409146f2db22d71559154fa1233694c964cc14.tar.gz dtc-42409146f2db22d71559154fa1233694c964cc14.tar.bz2 |
fdtoverlay: A tool that applies overlays
Since libfdt support overlay application on FDT blobs, provide
a command line tool that applies an arbitrary number of
overlays, one after another to a base fdt blob and output
the result in the given file.
Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -120,6 +120,7 @@ BIN += dtc BIN += fdtdump BIN += fdtget BIN += fdtput +BIN += fdtoverlay SCRIPTS = dtdiff @@ -150,6 +151,7 @@ ifneq ($(DEPTARGETS),) -include $(FDTDUMP_OBJS:%.o=%.d) -include $(FDTGET_OBJS:%.o=%.d) -include $(FDTPUT_OBJS:%.o=%.d) +-include $(FDTOVERLAY_OBJS:%.o=%.d) endif @@ -226,6 +228,8 @@ fdtget: $(FDTGET_OBJS) $(LIBFDT_archive) fdtput: $(FDTPUT_OBJS) $(LIBFDT_archive) +fdtoverlay: $(FDTOVERLAY_OBJS) $(LIBFDT_archive) + dist: git archive --format=tar --prefix=dtc-$(dtc_version)/ HEAD \ > ../dtc-$(dtc_version).tar @@ -280,6 +284,7 @@ TESTS_BIN += convert-dtsv0 TESTS_BIN += fdtput TESTS_BIN += fdtget TESTS_BIN += fdtdump +TESTS_BIN += fdtoverlay ifeq ($(NO_PYTHON),) TESTS_PYLIBFDT += maybe_pylibfdt endif |