From 569321f9ac798277c66948773d6fe710dda9bc64 Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Wed, 11 Oct 2023 17:26:34 -0600 Subject: [PATCH] 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 --- scripts/_build/ec.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/_build/ec.sh b/scripts/_build/ec.sh index 9adfeb0..51d84b2 100755 --- a/scripts/_build/ec.sh +++ b/scripts/_build/ec.sh @@ -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"