forked from rrcarlosr/Jetpack
Add Kernel dtbs install support
This commit is contained in:
parent
4c1ccb84dc
commit
3c0b3f7ded
|
@ -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