diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2018-06-06 22:07:26 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-12 23:34:24 +0100 |
commit | 81e8a52e8e40e47c34f900db5d73e69ffc25f5d0 (patch) | |
tree | f99d903fe6625c862fc1464ce4f490059985e2ff /scripts/tiny | |
parent | e52755c23c8be659f83014902df7b830dc703bb7 (diff) | |
download | poky-81e8a52e8e40e47c34f900db5d73e69ffc25f5d0.tar.gz |
kernel: specify dependencies for compilation for config tasks
With recent kernels (i.e. 4.17+) the configuration phase of the kernel
will check for capabilities/options of the compiler for CVE and other
mitigation support.
For a general kernel, we want to ensure that CC is fully defined when
the config targets are invoked (so the proper compiler will be checked).
For linux-yocto, we also need to specify the compiler/tools dependencies
for the configme task since it executes before configure and hence the
main kernel build DEPENDS will not always be in the sysroot before it
executes. Without those dependencies the kernel will be incorrectly
configured (i.e. bison is missing) or the configuration will fail the
mitigation tests.
[YOCTO #12757]
(From OE-Core rev: ff1bdd75d50f0ebac3d599e461685ace29559a82)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/tiny')
0 files changed, 0 insertions, 0 deletions