From 40aacaff30daf91b7e16e57c69c63f84da04841f Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Mon, 22 Aug 2022 10:06:52 -0600
Subject: [PATCH] Only build acpid on x86_64

---
 recipes/drivers-initfs/recipe.toml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/recipes/drivers-initfs/recipe.toml b/recipes/drivers-initfs/recipe.toml
index f84e5af72..26dfef38f 100644
--- a/recipes/drivers-initfs/recipe.toml
+++ b/recipes/drivers-initfs/recipe.toml
@@ -5,7 +5,6 @@ git = "https://gitlab.redox-os.org/redox-os/drivers.git"
 template = "custom"
 script = """
 BINS=(
-    acpid
     ahcid
     nvmed
     pcid
@@ -13,9 +12,12 @@ BINS=(
 )
 
 case "${TARGET}" in
-    i686-unknown-redox | x86_64-unknown-redox)
+    i686-unknown-redox)
         BINS+=(ps2d)
         ;;
+    x86_64-unknown-redox)
+        BINS+=(acpid ps2d)
+        ;;
     *)
         ;;
 esac
-- 
GitLab