diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-09-21 17:53:00 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-09-21 17:53:00 +0200 |
commit | 555ee336b1dee8140c33f6a2f974f1821f394bc2 (patch) | |
tree | 613c57df97d321cace9fca37d4518d2db0b9ee3b /extra/edk2 | |
parent | a3160092b240e2b594d13368986bcbcb51ede217 (diff) | |
download | packages-555ee336b1dee8140c33f6a2f974f1821f394bc2.tar.xz |
extra/edk2: only build IA-32 version of firmware
Diffstat (limited to 'extra/edk2')
-rw-r--r-- | extra/edk2/PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
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' + ) +) |