Skip to content

Commit f040cc9

Browse files
committed
scripts: Version EC separately from SBIOS
Stop setting the EC version to the SBIOS version so that the EC will use its real version. Signed-off-by: Tim Crawford <[email protected]>
1 parent 569321f commit f040cc9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

scripts/_build/ec.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ while read line; do
1616
done < "$1"
1717

1818
make -C ec clean
19-
make -C ec VERSION="${VERSION}" "${EC_ARGS[@]}" BUILD=build -j "$(nproc)"
19+
make -C ec "${EC_ARGS[@]}" BUILD=build -j "$(nproc)"
2020
cp "ec/build/ec.rom" "$2"

scripts/build.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ KERNELVERSION="${VERSION}" \
8686
# Rebuild EC firmware for System76 EC models
8787
if [ ! -e "${MODEL_DIR}/ec.rom" -a -e "${MODEL_DIR}/ec.config" ]
8888
then
89-
env VERSION="${VERSION}" \
90-
./scripts/_build/ec.sh \
89+
./scripts/_build/ec.sh \
9190
"${MODEL_DIR}/ec.config" \
9291
"${BUILD}/ec.rom"
9392
fi

0 commit comments

Comments
 (0)