[meta-intel] [PATCH 1/3] linux-yocto: Add linux-yocto 4.10 bbappends

Alejandro Hernandez alejandro.hernandez at linux.intel.com
Thu Mar 16 15:22:10 PDT 2017


Hey Cal,

That was copied directly from the recipe that had LTO, which apparently 
we wont be using for >4.4 so we wont be needing that line anymore.

Alejandro


On 03/16/2017 02:34 PM, Cal Sullivan wrote:
> Alejandro, I'd appreciate a review on the tiny bbappend, as I didn't 
> entirely understand the EXTRA_OEMAKE that you added to the 4.9 recipe, 
> and this is essentially a copy of that.
>
> Thanks,
> Cal
>
> On 03/16/2017 01:28 PM, California Sullivan wrote:
>> Like the 4.9 linux-yocto kernel, we will just float on OE-core's
>> SRCREVs.
>>
>> Signed-off-by: California Sullivan <california.l.sullivan at intel.com>
>> ---
>>   .../linux/linux-yocto-rt_4.10.bbappend              | 13 +++++++++++++
>>   .../linux/linux-yocto-tiny_4.10.bbappend            | 19 
>> +++++++++++++++++++
>>   .../recipes-kernel/linux/linux-yocto_4.10.bbappend  | 21 
>> +++++++++++++++++++++
>>   3 files changed, 53 insertions(+)
>>   create mode 100644 
>> common/recipes-kernel/linux/linux-yocto-rt_4.10.bbappend
>>   create mode 100644 
>> common/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend
>>   create mode 100644 
>> common/recipes-kernel/linux/linux-yocto_4.10.bbappend
>>
>> diff --git a/common/recipes-kernel/linux/linux-yocto-rt_4.10.bbappend 
>> b/common/recipes-kernel/linux/linux-yocto-rt_4.10.bbappend
>> new file mode 100644
>> index 0000000..9d2e3c0
>> --- /dev/null
>> +++ b/common/recipes-kernel/linux/linux-yocto-rt_4.10.bbappend
>> @@ -0,0 +1,13 @@
>> +KERNEL_FEATURES_INTEL_COMMON = ""
>> +
>> +COMPATIBLE_MACHINE_core2-32-intel-common = "${MACHINE}"
>> +KMACHINE_core2-32-intel-common = "intel-core2-32"
>> +KERNEL_FEATURES_append_core2-32-intel-common = 
>> "${KERNEL_FEATURES_INTEL_COMMON}"
>> +
>> +COMPATIBLE_MACHINE_corei7-64-intel-common = "${MACHINE}"
>> +KMACHINE_corei7-64-intel-common = "intel-corei7-64"
>> +KERNEL_FEATURES_append_corei7-64-intel-common = 
>> "${KERNEL_FEATURES_INTEL_COMMON}"
>> +
>> +COMPATIBLE_MACHINE_i586-nlp-32-intel-common = "${MACHINE}"
>> +KMACHINE_i586-nlp-32-intel-common = "intel-quark"
>> +KERNEL_FEATURES_append_i586-nlp-32-intel-common = ""
>> diff --git 
>> a/common/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend 
>> b/common/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend
>> new file mode 100644
>> index 0000000..a9a10ea
>> --- /dev/null
>> +++ b/common/recipes-kernel/linux/linux-yocto-tiny_4.10.bbappend
>> @@ -0,0 +1,19 @@
>> +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>> +
>> +EXTRA_OEMAKE = 
>> "LD=${STAGING_BINDIR_NATIVE}/${HOST_SYS}/${TARGET_PREFIX}ld 
>> AR=${STAGING_BINDIR_NATIVE}/${HOST_SYS}/${TARGET_PREFIX}gcc-ar"
>> +
>> +COMPATIBLE_MACHINE_i586-nlp-32-intel-common = "${MACHINE}"
>> +COMPATIBLE_MACHINE_core2-32-intel-common = "${MACHINE}"
>> +COMPATIBLE_MACHINE_corei7-64-intel-common = "${MACHINE}"
>> +
>> +KBRANCH_i586-nlp-32-intel-common = "standard/tiny/base"
>> +KBRANCH_core2-32-intel-common = "standard/tiny/base"
>> +KBRANCH_corei7-64-intel-common = "standard/tiny/base"
>> +
>> +KMACHINE_i586-nlp-32-intel-common = "intel-quark"
>> +KMACHINE_core2-32-intel-common = "intel-core2-32"
>> +KMACHINE_corei7-64-intel-common = "intel-corei7-64"
>> +
>> +KERNEL_FEATURES_append_i586-nlp-32-intel-common = 
>> "${KERNEL_FEATURES_INTEL_COMMON} cfg/fs/ext4.scc"
>> +KERNEL_FEATURES_append_core2-32-intel-common = 
>> "${KERNEL_FEATURES_INTEL_COMMON} cfg/fs/ext4.scc"
>> +KERNEL_FEATURES_append_corei7-64-intel-common = 
>> "${KERNEL_FEATURES_INTEL_COMMON} cfg/fs/ext4.scc"
>> diff --git a/common/recipes-kernel/linux/linux-yocto_4.10.bbappend 
>> b/common/recipes-kernel/linux/linux-yocto_4.10.bbappend
>> new file mode 100644
>> index 0000000..a09fe1a
>> --- /dev/null
>> +++ b/common/recipes-kernel/linux/linux-yocto_4.10.bbappend
>> @@ -0,0 +1,21 @@
>> +KERNEL_FEATURES_INTEL_COMMON = ""
>> +
>> +COMPATIBLE_MACHINE_core2-32-intel-common = "${MACHINE}"
>> +KMACHINE_core2-32-intel-common = "intel-core2-32"
>> +KERNEL_FEATURES_append_core2-32-intel-common = 
>> "${KERNEL_FEATURES_INTEL_COMMON}"
>> +
>> +COMPATIBLE_MACHINE_corei7-64-intel-common = "${MACHINE}"
>> +KMACHINE_corei7-64-intel-common = "intel-corei7-64"
>> +KERNEL_FEATURES_append_corei7-64-intel-common = 
>> "${KERNEL_FEATURES_INTEL_COMMON}"
>> +
>> +COMPATIBLE_MACHINE_i586-nlp-32-intel-common = "${MACHINE}"
>> +KMACHINE_i586-nlp-32-intel-common = "intel-quark"
>> +KERNEL_FEATURES_append_i586-nlp-32-intel-common = ""
>> +
>> +# For Crystalforest and Romley
>> +KERNEL_MODULE_AUTOLOAD_append_core2-32-intel-common = " uio"
>> +KERNEL_MODULE_AUTOLOAD_append_corei7-64-intel-common = " uio"
>> +
>> +# For FRI2, NUC
>> +KERNEL_MODULE_AUTOLOAD_append_core2-32-intel-common = " iwlwifi"
>> +KERNEL_MODULE_AUTOLOAD_append_corei7-64-intel-common = " iwlwifi"
>



More information about the meta-intel mailing list