We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51e3e1a commit 57a15b7Copy full SHA for 57a15b7
scripts/_build/ec.sh
@@ -15,7 +15,6 @@ while read line; do
15
fi
16
done < "$1"
17
18
-source "$1"
19
-make -C ec VERSION="${VERSION}" "${EC_ARGS[@]}" clean
20
-make -C ec VERSION="${VERSION}" "${EC_ARGS[@]}" -j "$(nproc)"
21
-cp "ec/build/${BOARD}/${VERSION}/ec.rom" "$2"
+make -C ec clean
+make -C ec "${EC_ARGS[@]}" BUILD=build -j "$(nproc)"
+cp "ec/build/ec.rom" "$2"
scripts/build.sh
@@ -86,8 +86,7 @@ KERNELVERSION="${VERSION}" \
86
# Rebuild EC firmware for System76 EC models
87
if [ ! -e "${MODEL_DIR}/ec.rom" -a -e "${MODEL_DIR}/ec.config" ]
88
then
89
- env VERSION="${VERSION}" \
90
- ./scripts/_build/ec.sh \
+ ./scripts/_build/ec.sh \
91
"${MODEL_DIR}/ec.config" \
92
"${BUILD}/ec.rom"
93
0 commit comments