diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f0cf4f4..1a55b296 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ features apply to your model and firmware version, see the - cml-u: Updated CSME to 14.1.74.2355v6 (14.1.74.2373) - Reverted unlock prompt change to restore intended behavior - darp10: Fixed reporting of the second fan +- Changed the EC version to be distinct from the SBIOS version ## 2024-07-01 diff --git a/scripts/_build/ec.sh b/scripts/_build/ec.sh index 15937722..397ac1d4 100755 --- a/scripts/_build/ec.sh +++ b/scripts/_build/ec.sh @@ -20,5 +20,5 @@ done < "$1" BUILD_DIR="build" make -C ec BUILD="$BUILD_DIR" clean -make -C ec VERSION="${VERSION}" "${EC_ARGS[@]}" BUILD="$BUILD_DIR" -j "$(nproc)" +make -C ec "${EC_ARGS[@]}" BUILD="$BUILD_DIR" -j "$(nproc)" cp "ec/$BUILD_DIR/ec.rom" "$2" diff --git a/scripts/build.sh b/scripts/build.sh index b491adfe..661a9c5f 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -87,8 +87,7 @@ KERNELVERSION="${VERSION}" \ # Rebuild EC firmware for System76 EC models if [ ! -e "${MODEL_DIR}/ec.rom" ] && [ -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