summaryrefslogtreecommitdiffstats
path: root/import-layers/yocto-poky/meta/classes/sanity.bbclass
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2018-06-28 12:34:29 -0700
committerWilliam A. Kennington III <wak@google.com>2018-06-29 05:01:00 +0000
commit47649fa5fcb313159e29633bda1185c16c0e687d (patch)
treef30f78310c455c29f0ddf7bd861fcfd798508f3f /import-layers/yocto-poky/meta/classes/sanity.bbclass
parente286c4a0ac4a9d6221d228abdfef71bf9e9f36a7 (diff)
downloadtalos-openbmc-47649fa5fcb313159e29633bda1185c16c0e687d.tar.gz
talos-openbmc-47649fa5fcb313159e29633bda1185c16c0e687d.zip
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] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: William A. Kennington III <wak@google.com> Change-Id: Ife5a5fb09523a7dfe359db49254a7600b4420a4c Upstream: openembedded/openembedded-core@ff1bdd75d50f0ebac3d599e461685ace29559a82
Diffstat (limited to 'import-layers/yocto-poky/meta/classes/sanity.bbclass')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud