]> code.ossystems Code Review - openembedded-core.git/commit
kernel: Fix QA buildpaths warning for kernel modules
authorHe Zhe <zhe.he@windriver.com>
Mon, 5 Feb 2018 06:54:03 +0000 (14:54 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Feb 2018 17:56:33 +0000 (17:56 +0000)
commitef7dac8511fc1647bc481c0e2ffa19e08e06f007
treedf49fbe67753590144a36384846db0127061e6eb
parentf355e40c84de55a7f71165873dbe7ef1ea870b83
kernel: Fix QA buildpaths warning for kernel modules

CFLAGS is unset during kernel_do_compile and thus the default build
path substitutions in DEBUG_PREFIX_MAP are missing.

To enhance reproducible build for kernel modules, such as lttng-modules
and cryptodev-module, this patch appends them, plus substitution of
STAGING_KERNEL_DIR, to KERNEL_CC.

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/kernel-arch.bbclass