|
@ -22,7 +22,6 @@ usage() |
|
|
echo " --bleeding-edge Build from the latest commit" |
|
|
echo " --bleeding-edge Build from the latest commit" |
|
|
echo " --clean-slate Purge previous build directory and config" |
|
|
echo " --clean-slate Purge previous build directory and config" |
|
|
echo " -c, --commit <commit> Git commit hash" |
|
|
echo " -c, --commit <commit> Git commit hash" |
|
|
echo " --flash Flash BIOS if build is successful" |
|
|
|
|
|
echo " -h, --help Show this help" |
|
|
echo " -h, --help Show this help" |
|
|
echo " -i, --config Execute with interactive make config" |
|
|
echo " -i, --config Execute with interactive make config" |
|
|
echo " -t, --tag <tag> Git tag/version" |
|
|
echo " -t, --tag <tag> Git tag/version" |
|
@ -49,9 +48,6 @@ do |
|
|
-c | --commit) |
|
|
-c | --commit) |
|
|
COREBOOT_COMMIT="$2" |
|
|
COREBOOT_COMMIT="$2" |
|
|
shift 2;; |
|
|
shift 2;; |
|
|
--flash) |
|
|
|
|
|
FLASH_AFTER_BUILD=true |
|
|
|
|
|
shift 1;; |
|
|
|
|
|
-h | --help) |
|
|
-h | --help) |
|
|
usage >&2 |
|
|
usage >&2 |
|
|
exit 0;; |
|
|
exit 0;; |
|
@ -100,4 +96,4 @@ docker run --rm -it \ |
|
|
-e COREBOOT_TAG="$COREBOOT_TAG" \ |
|
|
-e COREBOOT_TAG="$COREBOOT_TAG" \ |
|
|
-e COREBOOT_CONFIG="$COREBOOT_CONFIG" \ |
|
|
-e COREBOOT_CONFIG="$COREBOOT_CONFIG" \ |
|
|
coreboot/coreboot-sdk:"$COREBOOT_SDK_VERSION" \ |
|
|
coreboot/coreboot-sdk:"$COREBOOT_SDK_VERSION" \ |
|
|
/home/coreboot/scripts/compile.sh && [ -n "$FLASH_AFTER_BUILD" ] && ./flash.sh "$MODEL" |
|
|
|
|
|
|
|
|
/home/coreboot/scripts/compile.sh |