Skip to content

Commit

Permalink
scripts: Version EC separately from SBIOS
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
crawfxrd committed Oct 12, 2023
1 parent 569321f commit f040cc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/_build/ec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ while read line; do
done < "$1"

make -C ec clean
make -C ec VERSION="${VERSION}" "${EC_ARGS[@]}" BUILD=build -j "$(nproc)"
make -C ec "${EC_ARGS[@]}" BUILD=build -j "$(nproc)"
cp "ec/build/ec.rom" "$2"
3 changes: 1 addition & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ KERNELVERSION="${VERSION}" \
# Rebuild EC firmware for System76 EC models
if [ ! -e "${MODEL_DIR}/ec.rom" -a -e "${MODEL_DIR}/ec.config" ]
then
env VERSION="${VERSION}" \
./scripts/_build/ec.sh \
./scripts/_build/ec.sh \
"${MODEL_DIR}/ec.config" \
"${BUILD}/ec.rom"
fi
Expand Down

0 comments on commit f040cc9

Please sign in to comment.