Skip to content

Commit 569321f

Browse files
crawfxrdjackpot51
authored andcommitted
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 <[email protected]>
1 parent b22e8de commit 569321f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

scripts/_build/ec.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ while read line; do
1515
fi
1616
done < "$1"
1717

18-
source "$1"
19-
make -C ec VERSION="${VERSION}" "${EC_ARGS[@]}" clean
20-
make -C ec VERSION="${VERSION}" "${EC_ARGS[@]}" -j "$(nproc)"
21-
cp "ec/build/${BOARD}/${VERSION}/ec.rom" "$2"
18+
make -C ec clean
19+
make -C ec VERSION="${VERSION}" "${EC_ARGS[@]}" BUILD=build -j "$(nproc)"
20+
cp "ec/build/ec.rom" "$2"

0 commit comments

Comments
 (0)