From 801697c03bb203b8338e44cbc729ca5f1f263834 Mon Sep 17 00:00:00 2001 From: dchvs Date: Thu, 4 Mar 2021 02:43:56 -0600 Subject: [PATCH] make_targets: Add Kernel dtbs install support --- kernel/kernel-4.9/scripts/Makefile.kernelinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/kernel-4.9/scripts/Makefile.kernelinst b/kernel/kernel-4.9/scripts/Makefile.kernelinst index a08898cde..0404bb854 100644 --- a/kernel/kernel-4.9/scripts/Makefile.kernelinst +++ b/kernel/kernel-4.9/scripts/Makefile.kernelinst @@ -24,11 +24,11 @@ endif # Helper targets for Installing Kernel into the boot directory quiet_cmd_kernel_install = INSTALL $(2) -cmd_kernel_install = mkdir -p $(2); cp $(kernelinst-root)$(2) $(3); +cmd_kernel_install = mkdir -p $(2); cp $(kernelinst-root)$(2) $(4); cp -r $(kernelinst-root)/$(3) $(4)/dtb; install-dir = $(patsubst $(kernelinst-root)%,$(INSTALL_PATH)%,$(obj)) __kernel_install: - $(call cmd,kernel_install,Image,$(install-dir)) + $(call cmd,kernel_install,Image,dts/*,$(install-dir)) .PHONY: __kernel_install