1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-06-04 14:10:01 +00:00

arm/hafnium: refuse to build on non-x86-64 hosts

For reasons, hafnium doesn't use host binaries for stuff like GN, Ninja,
Clang, GCC, or Qemu. Instead it ships binaries that it uses during the
build, but these binaries are only available for x86-64.

Attempts to use external tools (so the recipe can just DEPENDS as usual)
were not successful (clang being the problem) so just forcible stop the
recipe building on anything but x86-64 for now.

Change-Id: I144309d15fa1265b2b105981cd2bfcd376aab7ad
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Ross Burton
2021-03-22 18:59:51 +00:00
committed by Jon Mason
parent ac1dc0b894
commit 01a13b11ad
@@ -72,3 +72,9 @@ do_deploy() {
cp -rf ${D}/firmware/* ${DEPLOYDIR}/
}
addtask deploy after do_install
python() {
# https://developer.trustedfirmware.org/T898
if d.getVar("BUILD_ARCH") != "x86_64":
raise bb.parse.SkipRecipe("Cannot be built on non-x86-64 hosts")
}