summaryrefslogtreecommitdiff
path: root/meta-arm/meta-arm-bsp/recipes-bsp/hafnium/hafnium-tc.inc
blob: 433d56129e15e8c17e2b1e30b811e9a5d0d0cb60 (plain)
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
# TC specific configuration

COMPATIBLE_MACHINE = "(tc?)"
HAFNIUM_PLATFORM = "secure_tc"

# Intermediate SHA with 2.7 baseline version
SRCREV = "dd0561820946fe23bcd57cc129140437f72102a5"
PV = "2.7+git${SRCPV}"

FILESEXTRAPATHS:prepend:tc := "${THISDIR}/files/tc:"

SRC_URI:remove = "file://0003-Fix-build-with-clang-15.patch"

SRC_URI:append = " \
        file://0001-feat-emulate-cntp-timer-register-accesses-using-cnth.patch \
        file://0002-feat-emulate-interrupt-controller-register-access.patch \
        file://0003-feat-disable-alignment-check-for-EL0-partitions.patch \
        file://0004-feat-vhe-set-STAGE1_NS-while-mapping-memory-from-NWd.patch \
        file://0001-tc-increase-heap-pages.patch;patchdir=project/reference \
        file://0002-feat-vhe-enable-vhe-and-disable-branch-protection-fo.patch;patchdir=project/reference \
        "

do_compile() {
    PATH="${S}/prebuilts/linux-x64/clang/bin:$PATH" oe_runmake -C ${S}
}