forked from rrcarlosr/Jetpack
make_targets: Add Kernel dtbs install support
This commit is contained in:
parent
3dd32ccbb6
commit
801697c03b
|
@ -24,11 +24,11 @@ endif
|
||||||
|
|
||||||
# Helper targets for Installing Kernel into the boot directory
|
# Helper targets for Installing Kernel into the boot directory
|
||||||
quiet_cmd_kernel_install = INSTALL $(2)
|
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))
|
install-dir = $(patsubst $(kernelinst-root)%,$(INSTALL_PATH)%,$(obj))
|
||||||
|
|
||||||
__kernel_install:
|
__kernel_install:
|
||||||
$(call cmd,kernel_install,Image,$(install-dir))
|
$(call cmd,kernel_install,Image,dts/*,$(install-dir))
|
||||||
|
|
||||||
.PHONY: __kernel_install
|
.PHONY: __kernel_install
|
||||||
|
|
Loading…
Reference in New Issue