From 9fde2c029cedc0f14183066398f54a252a53ec9d Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jackpot51@gmail.com> Date: Tue, 26 Jul 2022 20:15:40 -0600 Subject: [PATCH] Only build ps2d on x86 --- recipes/drivers-initfs/recipe.toml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/recipes/drivers-initfs/recipe.toml b/recipes/drivers-initfs/recipe.toml index ce2e200bc..a0eb1f4f1 100644 --- a/recipes/drivers-initfs/recipe.toml +++ b/recipes/drivers-initfs/recipe.toml @@ -9,10 +9,17 @@ BINS=( ahcid nvmed pcid - ps2d vesad ) +case "${ARCH}" in + i686 | x86_64) + BINS+=(ps2d) + ;; + *) + ;; +esac + mkdir -pv "${COOKBOOK_STAGE}/bin" for bin in "${BINS[@]}" do -- GitLab