blob: 433d56129e15e8c17e2b1e30b811e9a5d0d0cb60 [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001# TC specific configuration
2
3COMPATIBLE_MACHINE = "(tc?)"
4HAFNIUM_PLATFORM = "secure_tc"
5
Patrick Williams8dd68482022-10-04 07:57:18 -05006# Intermediate SHA with 2.7 baseline version
7SRCREV = "dd0561820946fe23bcd57cc129140437f72102a5"
8PV = "2.7+git${SRCPV}"
9
Brad Bishopbec4ebc2022-08-03 09:55:16 -040010FILESEXTRAPATHS:prepend:tc := "${THISDIR}/files/tc:"
11
Patrick Williams7784c422022-11-17 07:29:11 -060012SRC_URI:remove = "file://0003-Fix-build-with-clang-15.patch"
Brad Bishopbec4ebc2022-08-03 09:55:16 -040013
14SRC_URI:append = " \
15 file://0001-feat-emulate-cntp-timer-register-accesses-using-cnth.patch \
Patrick Williams8dd68482022-10-04 07:57:18 -050016 file://0002-feat-emulate-interrupt-controller-register-access.patch \
Patrick Williams7784c422022-11-17 07:29:11 -060017 file://0003-feat-disable-alignment-check-for-EL0-partitions.patch \
18 file://0004-feat-vhe-set-STAGE1_NS-while-mapping-memory-from-NWd.patch \
19 file://0001-tc-increase-heap-pages.patch;patchdir=project/reference \
20 file://0002-feat-vhe-enable-vhe-and-disable-branch-protection-fo.patch;patchdir=project/reference \
Brad Bishopbec4ebc2022-08-03 09:55:16 -040021 "
22
23do_compile() {
24 PATH="${S}/prebuilts/linux-x64/clang/bin:$PATH" oe_runmake -C ${S}
25}