summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShrikant Bobade <Shrikant_Bobade@mentor.com>2015-06-05 14:10:43 +0530
committerJoe MacDonald <joe_macdonald@mentor.com>2015-06-09 13:30:42 -0400
commitdee52032cfec3139117fe7d712ec5d7b338a9a35 (patch)
tree1b3a843fc31d20e6873df3f19d99a9e99cbb4f91
parent2ebacbad21bbc66e0a4eba123bd7c8d6b14c8a27 (diff)
downloadmeta-selinux-dee52032cfec3139117fe7d712ec5d7b338a9a35.tar.gz
linux-yocto: enable selinux support for kernel v3.19
The default kernel is now v3.19. So we need the selinux support for kernel v3.19, inorder to get selinux enabled images out of box. Signed-off-by: Shrikant Bobade <Shrikant_Bobade@mentor.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r--recipes-kernel/linux/linux-yocto_3.19.bbappend8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-yocto_3.19.bbappend b/recipes-kernel/linux/linux-yocto_3.19.bbappend
new file mode 100644
index 0000000..a8c0647
--- /dev/null
+++ b/recipes-kernel/linux/linux-yocto_3.19.bbappend
@@ -0,0 +1,8 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2
3# Enable selinux support in the kernel if the feature is enabled
4SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'file://selinux.cfg', '', d)}"
5
6# For inconsistent kallsyms data bug on ARM
7# http://lists.infradead.org/pipermail/linux-arm-kernel/2012-March/thread.html#89718
8EXTRA_OEMAKE += "${@bb.utils.contains('TARGET_ARCH', 'arm', ' KALLSYMS_EXTRA_PASS=1', '', d)}"