]> xenbits.xensource.com Git - people/iwj/osstest.git/commit
ts-kernel-build: Include dtbs in dist file
authorIan Campbell <ian.campbell@citrix.com>
Thu, 1 Oct 2015 10:08:49 +0000 (11:08 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 8 Oct 2015 16:19:14 +0000 (17:19 +0100)
commitd4dba6183d616b1d4f9826834318db48eb8ec5d6
tree0ce643ac05a450831b138b2796a117dd8da0d8e8
parent98894b8dc87eca33f91d2993b06bddeedeb641ad
ts-kernel-build: Include dtbs in dist file

These are installed to $(INSTALL_PATH)/dtbs/$(KERNEL_RELEASE) where
$(INSTALL_PATH) defaults to /boot but we override it to our staging
/boot.

Note that ts-host-install will install the OS dtbs directly into
/boot/dtbs without the subdirectory, so this won't clash and could be
considered a fallback hence I don't propose to move those ones.

The install_dtbs target has been available since v3.14, wherease we
only test v3.16 onwards on ARM, hence no arrangements are needed to
conditionalise this installation over and above the per-arch
arrangements made here.

Having now set $(INSTALL_PATH) I think the "install" target could now
take over the installation of System.map, vmlinux and .config into
/boot but I've not checked this with all historical kernel versions
and don't intend to make this change now.

Remove any previous dist dir on install, otherwise the kernel tends to
create dist/boot/dtbs.old with the previous contents on repeated use.
Seems like good hygiene anyway.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
ts-kernel-build