summaryrefslogtreecommitdiffstats
path: root/movement/make
diff options
context:
space:
mode:
authorJames Haggerty <james@gruemail.com>2022-11-02 06:18:23 +1100
committerJames Haggerty <james@gruemail.com>2022-11-02 06:18:34 +1100
commitad6e919107fb0bb38d01b1ed6e7ca1b56f9719ed (patch)
tree027905b85ba3ae004c983412db59df80ed683db4 /movement/make
parentb7a461d280d06749aeb14af1e8c17cbf3616055b (diff)
downloadSensor-Watch-ad6e919107fb0bb38d01b1ed6e7ca1b56f9719ed.tar.gz
Sensor-Watch-ad6e919107fb0bb38d01b1ed6e7ca1b56f9719ed.tar.bz2
Sensor-Watch-ad6e919107fb0bb38d01b1ed6e7ca1b56f9719ed.zip
Separate emscripten build directory
This avoids the need to 'make clean' before you do a simulator build (or vice-versa).
Diffstat (limited to 'movement/make')
-rwxr-xr-xmovement/make/make_alternate_fw.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/movement/make/make_alternate_fw.sh b/movement/make/make_alternate_fw.sh
index 575c9e52..739c8557 100755
--- a/movement/make/make_alternate_fw.sh
+++ b/movement/make/make_alternate_fw.sh
@@ -28,9 +28,9 @@ do
make clean
emmake make FIRMWARE=$VARIANT
mkdir "$sim_dir/$variant/"
- mv "build/watch.wasm" "$sim_dir/$variant/"
- mv "build/watch.js" "$sim_dir/$variant/"
- mv "build/watch.html" "$sim_dir/$variant/index.html"
+ mv "build-sim/watch.wasm" "$sim_dir/$variant/"
+ mv "build-sim/watch.js" "$sim_dir/$variant/"
+ mv "build-sim/watch.html" "$sim_dir/$variant/index.html"
done
echo "Done."