summaryrefslogtreecommitdiff
path: root/extra/edk2
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-09-21 17:53:00 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-09-21 17:53:00 +0200
commit555ee336b1dee8140c33f6a2f974f1821f394bc2 (patch)
tree613c57df97d321cace9fca37d4518d2db0b9ee3b /extra/edk2
parenta3160092b240e2b594d13368986bcbcb51ede217 (diff)
downloadpackages-555ee336b1dee8140c33f6a2f974f1821f394bc2.tar.xz
extra/edk2: only build IA-32 version of firmware
Diffstat (limited to 'extra/edk2')
-rw-r--r--extra/edk2/PKGBUILD22
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'
+ )
+)