summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Hahn <george.hahn.vhs@gmail.com>2022-04-29 22:55:36 -0600
committerGeorge Hahn <george.hahn.vhs@gmail.com>2022-05-10 00:16:20 -0600
commit9d8ef5c2e8a0aa0b9c27034a1dde0051a385220a (patch)
tree9299c5d47609676ef9600a1ecc234799e82ab638
parentcd405735351035df657b64547b3dfc6a3d59db56 (diff)
downloadSensor-Watch-9d8ef5c2e8a0aa0b9c27034a1dde0051a385220a.tar.gz
Sensor-Watch-9d8ef5c2e8a0aa0b9c27034a1dde0051a385220a.tar.bz2
Sensor-Watch-9d8ef5c2e8a0aa0b9c27034a1dde0051a385220a.zip
Parallelize builds
-rwxr-xr-xmovement/make/make_alternate_fw.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/movement/make/make_alternate_fw.sh b/movement/make/make_alternate_fw.sh
index 575c9e52..bd8154ef 100755
--- a/movement/make/make_alternate_fw.sh
+++ b/movement/make/make_alternate_fw.sh
@@ -22,11 +22,11 @@ do
do
COLOR=$(echo "$color" | tr '[:lower:]' '[:upper:]')
make clean
- make LED=$COLOR FIRMWARE=$VARIANT
+ make LED=$COLOR FIRMWARE=$VARIANT -j `nproc`
mv "build/watch.uf2" "$fw_dir/$variant-$color.uf2"
done
make clean
- emmake make FIRMWARE=$VARIANT
+ emmake make FIRMWARE=$VARIANT -j `nproc`
mkdir "$sim_dir/$variant/"
mv "build/watch.wasm" "$sim_dir/$variant/"
mv "build/watch.js" "$sim_dir/$variant/"