]> code.ossystems Code Review - openembedded-core.git/commit
kernel: Permit overriding of KERNEL_IMAGETYPE_FOR_MAKE
authorMike Crowe <mac@mcrowe.com>
Wed, 2 May 2018 16:02:34 +0000 (17:02 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 May 2018 20:09:10 +0000 (21:09 +0100)
commit38abd26fe7de321e0f1fc4895f754f34dee90f6c
tree1b4465242444ba3940627aeb3cfcd7417a5440a9
parentbb9a62acaf9aa1691ce276bf037ba35b6c924276
kernel: Permit overriding of KERNEL_IMAGETYPE_FOR_MAKE

Commit a1690131691507bbf5853540229b3ad775b836bf removed the ability of
recipes to set KERNEL_IMAGETYPE_FOR_MAKE. Fix that by letting recipes
continue to set their own KERNEL_IMAGETYPE_FOR_MAKE if they so wish.
They may have been doing so for a while, and don't want to have their
carefully-selected value trampled on by kernel.bbclass.

This may be required if the recipe itself wants to build one type of
kernel, but post-process it into a different type, rather like the
vmlinux->vmlinux.gz support provided by kernel.bbclass.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/kernel.bbclass