mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 07:02:34 +02:00

In preparation to follow up commits, move the commands into functions so that it's clear what belongs to what. Signed-off-by: Felix Singer <felixsinger@posteo.net> Change-Id: Ia2dc6f1d4d53b4d6a1255ef31c66799a484302fc Reviewed-on: https://review.coreboot.org/c/flashrom/+/66093 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Thomas Heijligen <src@posteo.de>
20 lines
195 B
Bash
Executable File
20 lines
195 B
Bash
Executable File
#!/usr/bin/env sh
|
|
set -e
|
|
|
|
|
|
build_make () {
|
|
make CONFIG_EVERYTHING=yes
|
|
}
|
|
|
|
|
|
build_meson () {
|
|
builddir=out
|
|
meson $builddir
|
|
ninja -C $builddir
|
|
ninja -C $builddir test
|
|
}
|
|
|
|
|
|
build_make
|
|
build_meson
|