Add dtbs_install Makefile target to install DTBs

This commit is contained in:
dchvs 2021-03-02 01:37:32 -06:00
parent 95c069085f
commit d6f6f6956c
1 changed files with 5 additions and 0 deletions

View File

@ -150,9 +150,14 @@ zinstall install:
%.dtb: scripts %.dtb: scripts
$(Q)$(MAKE) $(build)=$(boot)/dts $(boot)/dts/$@ $(Q)$(MAKE) $(build)=$(boot)/dts $(boot)/dts/$@
PHONY += dtbs dtbs_install
dtbs: scripts dtbs: scripts
$(Q)$(MAKE) $(build)=$(boot)/dts dtbs $(Q)$(MAKE) $(build)=$(boot)/dts dtbs
dtbs_install:
$(Q)$(MAKE) $(dtbinst)=$(boot)/dts
Image-dtb Image.gz-dtb: vmlinux scripts dtbs Image-dtb Image.gz-dtb: vmlinux scripts dtbs
$(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@