Skip to content
Snippets Groups Projects
Commit 562e4ecd authored by Malaurie Bernard's avatar Malaurie Bernard
Browse files

refix build script on host

parent 6a24b481
No related branches found
No related tags found
1 merge request!17Malaurie's work on UI + CLI interface + AccelStepper interface
...@@ -4,9 +4,11 @@ firefox=false ...@@ -4,9 +4,11 @@ firefox=false
[ -z "$1" ] || firefox=true [ -z "$1" ] || firefox=true
pwd=$(pwd) pwd=$(pwd)
parentPath=$(cd ..; pwd)
parentName=${parentPath##*/}
cd ${ESP8266ARDUINO}/tests/host cd ${ESP8266ARDUINO}/tests/host
make FORCE32=0 ssl make FORCE32=0 ssl
make -j 10 FORCE32=0 USERCFLAGS="-I ${ARDUINOLIB}/emuAsync/replacement" ULIBDIRS=${ARDUINOLIB}/emuAsync:${ARDUINOLIB}/ESPUI:${ARDUINOLIB}/ArduinoJson:${ARDUINOLIB}/arduinoWebSockets:${ARDUINOLIB}/ESPWebDAV:${ARDUINOLIB}/Debounceri:${ARDUINOLIB}/ESPWebDAV ${pwd}/../pousseseringue-arduino make -j 10 FORCE32=0 USERCFLAGS="-I ${ARDUINOLIB}/emuAsync/replacement" ULIBDIRS=${ARDUINOLIB}/emuAsync:${ARDUINOLIB}/ESPUI:${ARDUINOLIB}/ArduinoJson:${ARDUINOLIB}/arduinoWebSockets:${ARDUINOLIB}/ESPWebDAV:${ARDUINOLIB}/Debounceri:${ARDUINOLIB}/ESPWebDAV ${parentPath}/${parentName}
$firefox && ( $firefox && (
true '----------------------------------------' true '----------------------------------------'
...@@ -16,6 +18,6 @@ $firefox && ( ...@@ -16,6 +18,6 @@ $firefox && (
firefox -new-window http://localhost:9080 firefox -new-window http://localhost:9080
) & ) &
./bin/pousseseringue-arduino/pousseseringue-arduino "$@" ./bin/${parentName}/${parentName} "$@"
stty sane stty sane
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment