kernel-yocto: inhibit BSP description warnings for custom linux-yocto kernels

We don't require that a yocto custom kernel + defconfig have a full BSP
description (but of course it would be better if they did). Since this
isn't a requirement, we shouldn't alarm users by generating a BSP
description warning.

To implement this, we add a bsp audit level flag (like the one that
exists for kconfig audits), and only set it to activate in the versioned
linux-yocto recipes.

[YOCTO: #7370]

(From OE-Core rev: d2fb7fff291b83700d487be093223c1533d915ce)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Bruce Ashfield
2015-03-02 16:36:39 -05:00
committed by Richard Purdie
parent dd1d4e55c6
commit e02016e73b
7 changed files with 13 additions and 6 deletions

View File

@@ -14,6 +14,7 @@ LINUX_VERSION ?= "3.14.29"
PV = "${LINUX_VERSION}+git${SRCPV}"
KMETA = "meta"
KCONF_BSP_AUDIT_LEVEL = "2"
LINUX_KERNEL_TYPE = "preempt-rt"

View File

@@ -7,6 +7,7 @@ require recipes-kernel/linux/linux-yocto.inc
LINUX_VERSION ?= "3.14.29"
KMETA = "meta"
KCONF_BSP_AUDIT_LEVEL = "2"
SRCREV_machine ?= "f65678ef48c5d41af914d2769e4dd01411c1df96"
SRCREV_meta ?= "6eddbf47875ef48ddc5864957a7b63363100782b"

View File

@@ -7,6 +7,7 @@ require recipes-kernel/linux/linux-yocto.inc
LINUX_VERSION ?= "3.19"
KMETA = "meta"
KCONF_BSP_AUDIT_LEVEL = "2"
SRCREV_machine ?= "43b9eced9ba8a57add36af07736344dcc383f711"
SRCREV_meta ?= "f7a81274b461d0c748964d75c24bea8574d350fb"

View File

@@ -28,6 +28,7 @@ SRCREV_FORMAT ?= "meta_machine"
# 1: report options that are specified, but not in the final config
# 2: report options that are not hardware related, but set by a BSP
KCONF_AUDIT_LEVEL ?= "1"
KCONF_BSP_AUDIT_LEVEL ?= "0"
LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}"

View File

@@ -28,6 +28,7 @@ LINUX_VERSION ?= "3.14.29"
PV = "${LINUX_VERSION}+git${SRCPV}"
KMETA = "meta"
KCONF_BSP_AUDIT_LEVEL = "2"
COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"

View File

@@ -28,6 +28,7 @@ LINUX_VERSION ?= "3.19"
PV = "${LINUX_VERSION}+git${SRCPV}"
KMETA = "meta"
KCONF_BSP_AUDIT_LEVEL = "2"
COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"