From d7869a56f52540f833c04c6ece6cbd42dc24b89d Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 11 Oct 2025 16:27:47 +0100 Subject: WIP: chromebook integration script I intend to merge every Chromebook that Mrchromebox supports, into Libreboot, ready for the Libreboot 25.12 release. Work is still ongoing, and several changes need to happen in lbmk. I started working on it a few weeks ago (today is 14 November 2025 as I push this). Still TODO: * Automatically create lbmk coreboot targets, based on the configs present in MrChromebox git * Re-work git repository management in lbmk, such that a list of upstreams is used, instead of a hardcoded list per configuration; this will allow us to use different remotes across the same project, even where they diverge. This would then allow us to use the MrChromebook repository directly, instead of cherry-picking patches into upstream coreboot * The note above about remotes would also mean that we can use MrChromebox's own edk2 repository directly. All of this would reduce the burden on lbmk.git * Support building edk2 payloads, exactly mirroring the setups used on MrChromebox builds There are some things that need to be checked first, for boards that use MMC-based or eMMC-based storage, for the GRUB and SeaBIOS payloads, also U-Boot, because I will also be using these. As such, this current script shall sit in lbmk master, but it is not yet finished. Signed-off-by: Leah Rowe --- mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mk') diff --git a/mk b/mk index 53de360c..78d2a603 100755 --- a/mk +++ b/mk @@ -28,6 +28,7 @@ fi . "include/rom.sh" . "include/release.sh" . "include/get.sh" +. "include/chromebook.sh" main() { @@ -42,7 +43,7 @@ main() version) printf "%s\nWebsite: %s\n" "$relname" "$projectsite" ;; - release|download|inject) + release|download|inject|prep_mr_import) $cmd "$@" ;; -*) -- cgit v1.2.1