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
15
15
fi
16
16
done < " $1 "
17
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 "
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}" \
86
86
# Rebuild EC firmware for System76 EC models
87
87
if [ ! -e " ${MODEL_DIR} /ec.rom" -a -e " ${MODEL_DIR} /ec.config" ]
88
88
then
89
- env VERSION=" ${VERSION} " \
90
- ./scripts/_build/ec.sh \
89
+ ./scripts/_build/ec.sh \
91
90
" ${MODEL_DIR} /ec.config" \
92
91
" ${BUILD} /ec.rom"
93
92
fi
You can’t perform that action at this time.
0 commit comments