Jeremy Soller 48bf9dcfce
coreboot ec-acpi (#106)
* Add script for updating coreboot config

* Update coreboot and coreboot config

* Update coreboot and configs

* Pass board and version when running make clean in ec

* Add addw2 chip.txt

* Update coreboot

* Update coreboot
2020-07-18 13:49:56 -06:00

15 lines
290 B
Bash
Executable File

#!/usr/bin/env bash
set -e
if [ -z "$1" -o ! -e "$1" -o -z "$2" ]
then
echo "$0 <config> <output>" >&2
exit 1
fi
source "$1"
make -C ec BOARD=${BOARD} VERSION=${VERSION} clean
make -C ec BOARD=${BOARD} VERSION=${VERSION} -j $(nproc)
cp "ec/build/${BOARD}/${VERSION}/ec.rom" "$2"