summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-10-11 16:27:47 +0100
committerLeah Rowe <leah@libreboot.org>2025-11-14 18:22:51 +0000
commitd7869a56f52540f833c04c6ece6cbd42dc24b89d (patch)
treef1890ba6050f3d90a106b0a41c757ea10820af1e /mk
parent25f523bbacb4374337f443f0ffd9b458aa328c50 (diff)
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 <leah@libreboot.org>
Diffstat (limited to 'mk')
-rwxr-xr-xmk3
1 files changed, 2 insertions, 1 deletions
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 "$@"
;;
-*)