forked from intel/meta-acrn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlinux-intel-rt-acrn-uos_4.19.bb
40 lines (28 loc) · 1.44 KB
/
linux-intel-rt-acrn-uos_4.19.bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
SUMMARY = "Linux Preempt RT Kernel with ACRN enabled (UOS)"
require recipes-kernel/linux/linux-intel.inc
# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying
# to build multiple virtual/kernel providers.
python () {
if d.getVar("KERNEL_PACKAGE_NAME", True) == "kernel" and d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-intel-rt-acrn-uos":
raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-intel-rt-acrn-uos to enable it")
}
SRC_URI_append = " file://perf-fix-build-with-binutils.patch \
file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch \
file://uos_rt_4.19.scc \
"
LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
KBRANCH = "4.19/preempt-rt"
KMETA_BRANCH = "yocto-4.19"
DEPENDS += "elfutils-native openssl-native util-linux-native"
LINUX_VERSION ?= "4.19.127"
SRCREV_machine ?= "bf082d422eeb3454c18a47aef3fb33c7a31d50cf"
SRCREV_meta ?= "4f5d761316a9cf14605e5d0cc91b53c1b2e9dc6a"
LINUX_VERSION_EXTENSION = "-linux-intel-preempt-rt-acrn-uos"
LINUX_KERNEL_TYPE = "preempt-rt"
KERNEL_FEATURES_append = "features/netfilter/netfilter.scc \
features/security/security.scc \
cfg/hv-guest.scc \
cfg/paravirt_kvm.scc \
"
# This configuration does not applies to current 4.19 rt kernel
SRC_URI_remove = "file://enable_lynxpoint_gpio.cfg"