From a39840612ef75275d31e4b0ae8e0a8b1a61d27c4 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Wed, 17 Aug 2022 07:27:40 -0600
Subject: [PATCH] Build UEFI bootloader

---
 recipes/bootloader/recipe.toml | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/recipes/bootloader/recipe.toml b/recipes/bootloader/recipe.toml
index 713158654..f9360e398 100644
--- a/recipes/bootloader/recipe.toml
+++ b/recipes/bootloader/recipe.toml
@@ -14,8 +14,7 @@ then
     cp "build/${TARGET}/bootloader.bin" "${COOKBOOK_STAGE}/bootloader"
 fi
 
-# TODO: fails due to environmental variables
-# export TARGET="${ARCH}-unknown-uefi"
-# cleanenv "${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}"
-# cp "build/${TARGET}/bootloader.efi" "${COOKBOOK_STAGE}/bootloader.efi"
+export TARGET="${ARCH}-unknown-uefi"
+"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}"
+cp "build/${TARGET}/bootloader.efi" "${COOKBOOK_STAGE}/bootloader.efi"
 """
-- 
GitLab