[Coreboot] Checkout a specific revision
This commit is contained in:
parent
16a2714c35
commit
185a6b78a2
@ -12,7 +12,7 @@ function download_code() {
|
|||||||
git clone --recursive http://review.coreboot.org/coreboot.git ./coreboot
|
git clone --recursive http://review.coreboot.org/coreboot.git ./coreboot
|
||||||
cd ./coreboot
|
cd ./coreboot
|
||||||
# Checkout this specific version
|
# Checkout this specific version
|
||||||
git checkout 66a0f55c2e2c6e042c58ae423901d7e41c5a2c84
|
git checkout tags/4.10
|
||||||
cd $base_directory
|
cd $base_directory
|
||||||
else
|
else
|
||||||
printf "Coreboot repository is already present\n"
|
printf "Coreboot repository is already present\n"
|
||||||
@ -102,7 +102,7 @@ function build_coreboot() {
|
|||||||
cd coreboot
|
cd coreboot
|
||||||
# Clean last build
|
# Clean last build
|
||||||
make clean
|
make clean
|
||||||
rm ../out/coreboot.rom
|
rm -f ../out/coreboot.rom
|
||||||
# Just make
|
# Just make
|
||||||
make -j${nproc} || make -j${nproc}
|
make -j${nproc} || make -j${nproc}
|
||||||
# Exit if failed
|
# Exit if failed
|
||||||
@ -117,7 +117,6 @@ function build_coreboot() {
|
|||||||
mv coreboot/build/coreboot.rom out/coreboot.rom
|
mv coreboot/build/coreboot.rom out/coreboot.rom
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# Build GRUB
|
# Build GRUB
|
||||||
function build_grub() {
|
function build_grub() {
|
||||||
# Check if the GRUB code is present
|
# Check if the GRUB code is present
|
||||||
@ -179,7 +178,6 @@ function config_seabios() {
|
|||||||
coreboot/util/cbfstool/cbfstool "out/coreboot.rom" print
|
coreboot/util/cbfstool/cbfstool "out/coreboot.rom" print
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# Install and config GRUB
|
# Install and config GRUB
|
||||||
function install_grub() {
|
function install_grub() {
|
||||||
printf "Install GRUB in the CBFS volume\n"
|
printf "Install GRUB in the CBFS volume\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user