File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ while read line; do
1515 fi
1616done < " $1 "
1717
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 "
18+ make -C ec clean
19+ make -C ec " ${EC_ARGS[@]} " BUILD=build -j " $( nproc) "
20+ cp " ec/build/ec.rom" " $2 "
Original file line number Diff line number Diff line change @@ -86,8 +86,7 @@ KERNELVERSION="${VERSION}" \
8686# Rebuild EC firmware for System76 EC models
8787if [ ! -e " ${MODEL_DIR} /ec.rom" -a -e " ${MODEL_DIR} /ec.config" ]
8888then
89- env VERSION=" ${VERSION} " \
90- ./scripts/_build/ec.sh \
89+ ./scripts/_build/ec.sh \
9190 " ${MODEL_DIR} /ec.config" \
9291 " ${BUILD} /ec.rom"
9392fi
You can’t perform that action at this time.
0 commit comments