Tim Crawford fcd8132165 Remove MinPlatform support
MinPlatform was only ever used for the KBL boards, and they no longer
build from this repo.

It is still possible to build coreboot-based firmware for KBL boards.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2023-08-04 11:41:26 -06:00

28 lines
540 B
Bash
Executable File

#!/usr/bin/env bash
REMOTES=(
"coreboot upstream https://github.com/coreboot/coreboot.git"
"edk2 upstream https://github.com/tianocore/edk2.git"
"edk2 mrchromebox https://github.com/MrChromebox/edk2.git"
)
set -e
function git_remote {
echo -e "\x1B[1m$1\x1B[0m"
pushd "$1" > /dev/null
if git remote | grep "^$2\$"
then
git remote set-url "$2" "$3"
else
git remote add "$2" "$3"
fi
git fetch "$2"
popd > /dev/null
}
for remote in "${REMOTES[@]}"
do
git_remote $remote
done