summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShrikant Bobade <Shrikant_Bobade@mentor.com>2015-07-30 16:58:15 +0530
committerJoe MacDonald <joe_macdonald@mentor.com>2015-08-07 16:24:54 -0400
commit83c3ee0aae2150b7ce350bab8f00154ff21cd202 (patch)
treeaec758081b1ecd30d3be1a9b1ed9d11ccb7a2741
parentdba3728010be763d07e4725c305e3b8657c4267b (diff)
downloadmeta-selinux-83c3ee0aae2150b7ce350bab8f00154ff21cd202.tar.gz
linux-yocto: enable selinux support for kernel v4.1
The default kernel is now v4.1. So we need the selinux support for kernel v4.1, 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_4.1.bbappend8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-yocto_4.1.bbappend b/recipes-kernel/linux/linux-yocto_4.1.bbappend
new file mode 100644
index 0000000..a8c0647
--- /dev/null
+++ b/recipes-kernel/linux/linux-yocto_4.1.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)}"