diff options
author | Viresh Kumar | 2021-01-29 12:54:08 +0530 |
---|---|---|
committer | Rob Herring | 2021-02-04 09:00:04 -0600 |
commit | ce88c9c79455fb69c6843b4bd30196fccb978a57 (patch) | |
tree | b6e02d63191e10a9f7eb4ca6b26f3af2c8338bf3 /scripts/Makefile.dtbinst | |
parent | 59b48a715107d5719b75250059864fa775837425 (diff) |
kbuild: Add support to build overlays (%.dtbo)
Add support for building DT overlays (%.dtbo). The overlay's source file
will have the usual extension, i.e. .dts, though the blob will have
.dtbo extension to distinguish it from normal blobs.
Acked-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/434ba2467dd0cd011565625aeb3450650afe0aae.1611904394.git.viresh.kumar@linaro.org
Diffstat (limited to 'scripts/Makefile.dtbinst')
-rw-r--r-- | scripts/Makefile.dtbinst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/Makefile.dtbinst b/scripts/Makefile.dtbinst index 50d580d77ae9..ba01f5ba2517 100644 --- a/scripts/Makefile.dtbinst +++ b/scripts/Makefile.dtbinst @@ -29,6 +29,9 @@ quiet_cmd_dtb_install = INSTALL $@ $(dst)/%.dtb: $(obj)/%.dtb $(call cmd,dtb_install) +$(dst)/%.dtbo: $(obj)/%.dtbo + $(call cmd,dtb_install) + PHONY += $(subdirs) $(subdirs): $(Q)$(MAKE) $(dtbinst)=$@ dst=$(patsubst $(obj)/%,$(dst)/%,$@) |