blob: 6dd08ad0a426adf8b623f6cf1e2f631556abd288 [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 Williams8dd68482022-10-04 07:57:18 -050012SRC_URI:remove = "file://0001-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 \
17 file://0003-tc-increase-heap-pages.patch;patchdir=project/reference \
18 file://0004-feat-disable-alignment-check-for-EL0-partitions.patch \
19 file://0005-feat-vhe-set-STAGE1_NS-while-mapping-memory-from-NWd.patch \
20 file://0006-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}