From 34d9c62f9f1f7e0d932f93b9888fc0ae477837dc Mon Sep 17 00:00:00 2001 From: Xin Ouyang Date: Thu, 19 Jul 2012 14:50:35 +0800 Subject: kernel: bbappend to enable SELinux, v3.4. Signed-off-by: Xin Ouyang --- recipes-kernel/linux/linux-yocto_3.4.bbappend | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 recipes-kernel/linux/linux-yocto_3.4.bbappend diff --git a/recipes-kernel/linux/linux-yocto_3.4.bbappend b/recipes-kernel/linux/linux-yocto_3.4.bbappend new file mode 100644 index 0000000..f9487f2 --- /dev/null +++ b/recipes-kernel/linux/linux-yocto_3.4.bbappend @@ -0,0 +1,7 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +# Enable selinux support in the kernel if the feature is enabled +SRC_URI += "${@base_contains('DISTRO_FEATURES', 'selinux', 'file://selinux.cfg', '', d)}" +# For inconsistent kallsyms data bug on ARM +# http://lists.infradead.org/pipermail/linux-arm-kernel/2012-March/thread.html#89718 +EXTRA_OEMAKE += "${@base_contains('TARGET_ARCH', 'arm', ' KALLSYMS_EXTRA_PASS=1', '', d)}" -- cgit v1.2.3-54-g00ecf