meta-intel/recipes-kernel/linux/linux-intel.inc
Anuj Mittal 2db6c8af4b linux-intel: fix perf reproducibility
Include a patch from linux-yocto to fix buildpaths problem when
compiling perf. Fixes:

| WARNING: perf-1.0-r9 do_package_qa: QA Issue: File /usr/lib/python3.10/site-packages/perf-0.1-py3.10-linux-x86_64.egg/EGG-INFO/SOURCES.txt in package perf-python contains reference to TMPDIR
| File /usr/lib/python3.10/site-packages/perf-0.1-py3.10-linux-x86_64.egg/__pycache__/perf.cpython-310.pyc in package perf-python contains reference to TMPDIR [buildpaths]

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-11-02 15:54:00 +08:00

27 lines
981 B
PHP

require recipes-kernel/linux/linux-yocto.inc
require recipes-kernel/linux/meta-intel-compat-kernel.inc
FILESEXTRAPATHS:prepend := "${THISDIR}/linux-intel:"
KERNEL_CONFIG_URI ?= "git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=${KMETA_BRANCH};destsuffix=${KMETA}"
SRC_URI = " \
git://github.com/intel/linux-intel-lts.git;protocol=https;name=machine;branch=${KBRANCH}; \
${KERNEL_CONFIG_URI} \
file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch \
file://0001-vt-conmakehash-improve-reproducibility.patch \
file://0001-lib-build_OID_registry-fix-reproducibility-issues.patch \
file://fix-perf-reproducibility.patch \
"
LINUX_VERSION_EXTENSION ??= "-intel-pk-${LINUX_KERNEL_TYPE}"
PV = "${LINUX_VERSION}+git${SRCPV}"
KMETA = "kernel-meta"
KCONF_BSP_AUDIT_LEVEL = "2"
COMPATIBLE_MACHINE ?= "(intel-corei7-64)"
KERNEL_FEATURES:append = " ${KERNEL_EXTRA_FEATURES}"