Files
poky/meta/recipes-kernel/linux/linux-yocto-tiny_5.0.bb
Bruce Ashfield d5cfad0848 linux-yocto/5.0: fix systemtap for arm
We need to enable the arm unwinder for systemtap to work out of the
box:

  root@qemuarm:~# stap --disable-cache -DSTP_NO_VERREL_CHECK ./hello.stp
  [ 1600.955262] stap_2097: loading out-of-tree module taints kernel.
  hello world

This option is useful for much more than systemtap, so it is a good
idea to have on in the base configs. It make the image slightly larger,
but has no performance impacts.

(From OE-Core rev: 8a3cc10c2deb933866e384b326d730d17a49a269)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-03-09 14:43:11 +00:00

33 lines
1.0 KiB
BlitzBasic

KBRANCH ?= "v5.0/standard/tiny/base"
KBRANCH_qemuarm ?= "v5.0/standard/tiny/arm-versatile-926ejs"
LINUX_KERNEL_TYPE = "tiny"
KCONFIG_MODE = "--allnoconfig"
require recipes-kernel/linux/linux-yocto.inc
LINUX_VERSION ?= "5.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
DEPENDS += "openssl-native util-linux-native"
KMETA = "kernel-meta"
KCONF_BSP_AUDIT_LEVEL = "2"
SRCREV_machine_qemuarm ?= "6da91ac9afd3b8c144760e3ceacc6a812ddfa3f6"
SRCREV_machine ?= "1a0da7e50b77c82841efb501c648dbaca699eac2"
SRCREV_meta ?= "4faa4419884d2bbe65f637befd71a1e95629eaae"
PV = "${LINUX_VERSION}+git${SRCPV}"
SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.0;destsuffix=${KMETA}"
COMPATIBLE_MACHINE = "qemux86|qemux86-64|qemuarm"
# Functionality flags
KERNEL_FEATURES = ""
KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb"