diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2015-03-02 16:36:39 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-02 22:05:34 +0000 |
| commit | e02016e73bca0ea0ceee14eb794eb8c477dbb3ad (patch) | |
| tree | 890726a6b77798d830f0e48d5154d59913876103 /meta/recipes-kernel | |
| parent | dd1d4e55c6198586eb83f7850f597fbdf69edbaf (diff) | |
| download | poky-e02016e73bca0ea0ceee14eb794eb8c477dbb3ad.tar.gz | |
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>
Diffstat (limited to 'meta/recipes-kernel')
| -rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb | 1 | ||||
| -rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-tiny_3.14.bb | 1 | ||||
| -rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-tiny_3.19.bb | 1 | ||||
| -rw-r--r-- | meta/recipes-kernel/linux/linux-yocto.inc | 1 | ||||
| -rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_3.14.bb | 1 | ||||
| -rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_3.19.bb | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb b/meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb index 8e2189654b..bd61c4a927 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_3.14.bb | |||
| @@ -14,6 +14,7 @@ LINUX_VERSION ?= "3.14.29" | |||
| 14 | PV = "${LINUX_VERSION}+git${SRCPV}" | 14 | PV = "${LINUX_VERSION}+git${SRCPV}" |
| 15 | 15 | ||
| 16 | KMETA = "meta" | 16 | KMETA = "meta" |
| 17 | KCONF_BSP_AUDIT_LEVEL = "2" | ||
| 17 | 18 | ||
| 18 | LINUX_KERNEL_TYPE = "preempt-rt" | 19 | LINUX_KERNEL_TYPE = "preempt-rt" |
| 19 | 20 | ||
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_3.14.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_3.14.bb index db9ad738c3..d110297246 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_3.14.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_3.14.bb | |||
| @@ -7,6 +7,7 @@ require recipes-kernel/linux/linux-yocto.inc | |||
| 7 | LINUX_VERSION ?= "3.14.29" | 7 | LINUX_VERSION ?= "3.14.29" |
| 8 | 8 | ||
| 9 | KMETA = "meta" | 9 | KMETA = "meta" |
| 10 | KCONF_BSP_AUDIT_LEVEL = "2" | ||
| 10 | 11 | ||
| 11 | SRCREV_machine ?= "f65678ef48c5d41af914d2769e4dd01411c1df96" | 12 | SRCREV_machine ?= "f65678ef48c5d41af914d2769e4dd01411c1df96" |
| 12 | SRCREV_meta ?= "6eddbf47875ef48ddc5864957a7b63363100782b" | 13 | SRCREV_meta ?= "6eddbf47875ef48ddc5864957a7b63363100782b" |
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_3.19.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_3.19.bb index 1997e30a25..d10449aab3 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_3.19.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_3.19.bb | |||
| @@ -7,6 +7,7 @@ require recipes-kernel/linux/linux-yocto.inc | |||
| 7 | LINUX_VERSION ?= "3.19" | 7 | LINUX_VERSION ?= "3.19" |
| 8 | 8 | ||
| 9 | KMETA = "meta" | 9 | KMETA = "meta" |
| 10 | KCONF_BSP_AUDIT_LEVEL = "2" | ||
| 10 | 11 | ||
| 11 | SRCREV_machine ?= "43b9eced9ba8a57add36af07736344dcc383f711" | 12 | SRCREV_machine ?= "43b9eced9ba8a57add36af07736344dcc383f711" |
| 12 | SRCREV_meta ?= "f7a81274b461d0c748964d75c24bea8574d350fb" | 13 | SRCREV_meta ?= "f7a81274b461d0c748964d75c24bea8574d350fb" |
diff --git a/meta/recipes-kernel/linux/linux-yocto.inc b/meta/recipes-kernel/linux/linux-yocto.inc index 79b3f256f4..c62f8ca97d 100644 --- a/meta/recipes-kernel/linux/linux-yocto.inc +++ b/meta/recipes-kernel/linux/linux-yocto.inc | |||
| @@ -28,6 +28,7 @@ SRCREV_FORMAT ?= "meta_machine" | |||
| 28 | # 1: report options that are specified, but not in the final config | 28 | # 1: report options that are specified, but not in the final config |
| 29 | # 2: report options that are not hardware related, but set by a BSP | 29 | # 2: report options that are not hardware related, but set by a BSP |
| 30 | KCONF_AUDIT_LEVEL ?= "1" | 30 | KCONF_AUDIT_LEVEL ?= "1" |
| 31 | KCONF_BSP_AUDIT_LEVEL ?= "0" | ||
| 31 | 32 | ||
| 32 | LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}" | 33 | LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}" |
| 33 | 34 | ||
diff --git a/meta/recipes-kernel/linux/linux-yocto_3.14.bb b/meta/recipes-kernel/linux/linux-yocto_3.14.bb index ac01430897..9cdd3eea0d 100644 --- a/meta/recipes-kernel/linux/linux-yocto_3.14.bb +++ b/meta/recipes-kernel/linux/linux-yocto_3.14.bb | |||
| @@ -28,6 +28,7 @@ LINUX_VERSION ?= "3.14.29" | |||
| 28 | PV = "${LINUX_VERSION}+git${SRCPV}" | 28 | PV = "${LINUX_VERSION}+git${SRCPV}" |
| 29 | 29 | ||
| 30 | KMETA = "meta" | 30 | KMETA = "meta" |
| 31 | KCONF_BSP_AUDIT_LEVEL = "2" | ||
| 31 | 32 | ||
| 32 | COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" | 33 | COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" |
| 33 | 34 | ||
diff --git a/meta/recipes-kernel/linux/linux-yocto_3.19.bb b/meta/recipes-kernel/linux/linux-yocto_3.19.bb index f856d19f93..f1bf3bea90 100644 --- a/meta/recipes-kernel/linux/linux-yocto_3.19.bb +++ b/meta/recipes-kernel/linux/linux-yocto_3.19.bb | |||
| @@ -28,6 +28,7 @@ LINUX_VERSION ?= "3.19" | |||
| 28 | PV = "${LINUX_VERSION}+git${SRCPV}" | 28 | PV = "${LINUX_VERSION}+git${SRCPV}" |
| 29 | 29 | ||
| 30 | KMETA = "meta" | 30 | KMETA = "meta" |
| 31 | KCONF_BSP_AUDIT_LEVEL = "2" | ||
| 31 | 32 | ||
| 32 | COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" | 33 | COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64" |
| 33 | 34 | ||
