diff options
author | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-07-19 14:50:35 +0800 |
---|---|---|
committer | Xin Ouyang <Xin.Ouyang@windriver.com> | 2012-07-19 14:57:34 +0800 |
commit | 34d9c62f9f1f7e0d932f93b9888fc0ae477837dc (patch) | |
tree | 5665b24dea89fd2df0bc1a95b6050a340d840fde | |
parent | 1ea3ebec167764a9ae47900576398fc199931588 (diff) | |
download | meta-selinux-34d9c62f9f1f7e0d932f93b9888fc0ae477837dc.tar.gz |
kernel: bbappend to enable SELinux, v3.4.
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
-rw-r--r-- | recipes-kernel/linux/linux-yocto_3.4.bbappend | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | # Enable selinux support in the kernel if the feature is enabled | ||
4 | SRC_URI += "${@base_contains('DISTRO_FEATURES', 'selinux', 'file://selinux.cfg', '', d)}" | ||
5 | # For inconsistent kallsyms data bug on ARM | ||
6 | # http://lists.infradead.org/pipermail/linux-arm-kernel/2012-March/thread.html#89718 | ||
7 | EXTRA_OEMAKE += "${@base_contains('TARGET_ARCH', 'arm', ' KALLSYMS_EXTRA_PASS=1', '', d)}" | ||