diff options
author | Joe MacDonald <joe_macdonald@mentor.com> | 2014-09-16 21:05:00 -0400 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2014-09-16 21:05:00 -0400 |
commit | aa85e81d9499787f40d0e09e3f16b0000483f546 (patch) | |
tree | ad519cf42897bac6a2008ad4ef04cf0cac3d4628 /recipes-kernel | |
parent | 8476ec5e64c13f9361434aa4deea9c106c85f42e (diff) | |
download | meta-selinux-aa85e81d9499787f40d0e09e3f16b0000483f546.tar.gz |
Globally replace 'base_contains' calls with 'bb.utils.contains'
Based on oe-core commit:
commit 1528e596d4906c33e4be83fcf691cfe76d340ff3
Author: Otavio Salvador <otavio@ossystems.com.br>
Date: Thu Apr 24 15:59:20 2014 -0300
Globally replace 'base_contains' calls with 'bb.utils.contains'
The base_contains is kept as a compatibility method and we ought to not
use it in OE-Core so we can remove it from base metadata in future.
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'recipes-kernel')
-rw-r--r-- | recipes-kernel/linux/linux-yocto_3.14.bbappend | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-kernel/linux/linux-yocto_3.14.bbappend b/recipes-kernel/linux/linux-yocto_3.14.bbappend index 4118cc0..65c79ef 100644 --- a/recipes-kernel/linux/linux-yocto_3.14.bbappend +++ b/recipes-kernel/linux/linux-yocto_3.14.bbappend | |||
@@ -1,8 +1,8 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
2 | 2 | ||
3 | # Enable selinux support in the kernel if the feature is enabled | 3 | # Enable selinux support in the kernel if the feature is enabled |
4 | SRC_URI += "${@base_contains('DISTRO_FEATURES', 'selinux', 'file://selinux.cfg', '', d)}" | 4 | SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'file://selinux.cfg', '', d)}" |
5 | 5 | ||
6 | # For inconsistent kallsyms data bug on ARM | 6 | # For inconsistent kallsyms data bug on ARM |
7 | # http://lists.infradead.org/pipermail/linux-arm-kernel/2012-March/thread.html#89718 | 7 | # http://lists.infradead.org/pipermail/linux-arm-kernel/2012-March/thread.html#89718 |
8 | EXTRA_OEMAKE += "${@base_contains('TARGET_ARCH', 'arm', ' KALLSYMS_EXTRA_PASS=1', '', d)}" | 8 | EXTRA_OEMAKE += "${@bb.utils.contains('TARGET_ARCH', 'arm', ' KALLSYMS_EXTRA_PASS=1', '', d)}" |