diff options
author | Saul Wold <sgw@linux.intel.com> | 2017-11-07 10:32:26 -0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2017-11-20 15:33:02 -0800 |
commit | d53dbb38c43da3fd04fed9a55e7b3b9e2c512b9a (patch) | |
tree | fbe372dba00d45bbf9fbfbb3726708dc2590daeb /recipes-kernel/linux/linux-intel.inc | |
parent | 5adbf6df4fd89e7531ccccfb9cec7a5314d635f0 (diff) | |
download | meta-intel-d53dbb38c43da3fd04fed9a55e7b3b9e2c512b9a.tar.gz |
meta-intel: Reorganize the layout to remove common
Remove the concept of the common directory and move all the recipes-* dirs
to the top level as a normal layer would be. layer.conf is updated appropriately
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'recipes-kernel/linux/linux-intel.inc')
-rw-r--r-- | recipes-kernel/linux/linux-intel.inc | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-intel.inc b/recipes-kernel/linux/linux-intel.inc new file mode 100644 index 00000000..1f26d451 --- /dev/null +++ b/recipes-kernel/linux/linux-intel.inc | |||
@@ -0,0 +1,40 @@ | |||
1 | require recipes-kernel/linux/linux-yocto.inc | ||
2 | |||
3 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-intel:" | ||
4 | |||
5 | KERNEL_CONFIG_URI ?= " \ | ||
6 | git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.9;destsuffix=${KMETA} \ | ||
7 | " | ||
8 | SRC_URI = " \ | ||
9 | git://github.com/01org/linux-intel-4.9.git;protocol=https;name=machine;branch=${KBRANCH}; \ | ||
10 | ${KERNEL_CONFIG_URI} \ | ||
11 | " | ||
12 | |||
13 | SRC_URI_append_core2-32-intel-common = " file://disable_skylake_sound.cfg" | ||
14 | |||
15 | |||
16 | LINUX_VERSION ?= "4.9.56" | ||
17 | LINUX_VERSION_EXTENSION ?= "-intel-pk-${LINUX_KERNEL_TYPE}" | ||
18 | |||
19 | PV = "${LINUX_VERSION}+git${SRCPV}" | ||
20 | |||
21 | KMETA = "kernel-meta" | ||
22 | KCONF_BSP_AUDIT_LEVEL = "2" | ||
23 | |||
24 | KERNEL_FEATURES_INTEL_COMMON ?= "" | ||
25 | |||
26 | COMPATIBLE_MACHINE_core2-32-intel-common = "${MACHINE}" | ||
27 | KMACHINE_core2-32-intel-common = "intel-core2-32" | ||
28 | KERNEL_FEATURES_append_core2-32-intel-common = "${KERNEL_FEATURES_INTEL_COMMON}" | ||
29 | |||
30 | COMPATIBLE_MACHINE_corei7-64-intel-common = "${MACHINE}" | ||
31 | KMACHINE_corei7-64-intel-common = "intel-corei7-64" | ||
32 | KERNEL_FEATURES_append_corei7-64-intel-common = "${KERNEL_FEATURES_INTEL_COMMON}" | ||
33 | |||
34 | COMPATIBLE_MACHINE_i586-nlp-32-intel-common = "${MACHINE}" | ||
35 | KMACHINE_i586-nlp-32-intel-common = "intel-quark" | ||
36 | KERNEL_FEATURES_append_i586-nlp-32-intel-common = "features/qat/qat.scc" | ||
37 | |||
38 | # Functionality flags | ||
39 | KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}" | ||
40 | KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", " cfg/x32.scc", "" ,d)}" | ||