mirror of
https://github.com/system76/firmware-open.git
synced 2025-07-04 13:19:37 +00:00
scripts: Set EC build dir
Specify the EC build directory so that it does not require the model or version to be determined in the script. Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
parent
b22e8dee41
commit
569321f9ac
1 changed files with 3 additions and 4 deletions
|
@ -15,7 +15,6 @@ while read line; do
|
|||
fi
|
||||
done < "$1"
|
||||
|
||||
source "$1"
|
||||
make -C ec VERSION="${VERSION}" "${EC_ARGS[@]}" clean
|
||||
make -C ec VERSION="${VERSION}" "${EC_ARGS[@]}" -j "$(nproc)"
|
||||
cp "ec/build/${BOARD}/${VERSION}/ec.rom" "$2"
|
||||
make -C ec clean
|
||||
make -C ec VERSION="${VERSION}" "${EC_ARGS[@]}" BUILD=build -j "$(nproc)"
|
||||
cp "ec/build/ec.rom" "$2"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue