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:
committed by
Jeremy Soller
parent
b22e8dee41
commit
569321f9ac
@ -15,7 +15,6 @@ while read line; do
|
|||||||
fi
|
fi
|
||||||
done < "$1"
|
done < "$1"
|
||||||
|
|
||||||
source "$1"
|
make -C ec clean
|
||||||
make -C ec VERSION="${VERSION}" "${EC_ARGS[@]}" clean
|
make -C ec VERSION="${VERSION}" "${EC_ARGS[@]}" BUILD=build -j "$(nproc)"
|
||||||
make -C ec VERSION="${VERSION}" "${EC_ARGS[@]}" -j "$(nproc)"
|
cp "ec/build/ec.rom" "$2"
|
||||||
cp "ec/build/${BOARD}/${VERSION}/ec.rom" "$2"
|
|
||||||
|
Reference in New Issue
Block a user