From 555ee336b1dee8140c33f6a2f974f1821f394bc2 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 21 Sep 2021 17:53:00 +0200 Subject: extra/edk2: only build IA-32 version of firmware --- extra/edk2/PKGBUILD | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 extra/edk2/PKGBUILD (limited to 'extra') diff --git a/extra/edk2/PKGBUILD b/extra/edk2/PKGBUILD new file mode 100644 index 00000000..8c262e82 --- /dev/null +++ b/extra/edk2/PKGBUILD @@ -0,0 +1,22 @@ +# no AARCH66 +makedepends=(${makedepends[@]//aarch64-linux-gnu-gcc/}) +pkgname=( + $( + printf '%s\n' "${pkgname[@]}" | \ + grep -v '^edk2-armvirt' + ) +) +_arch_list=( + $( + printf '%s\n' "${_arch_list[@]}" | \ + grep -v '^AARCH64' + ) +) + +# no AMD64 +_arch_list=( + $( + printf '%s\n' "${_arch_list[@]}" | \ + grep -v '^X64' + ) +) -- cgit v1.2.3-70-g09d2