extract out a variable for ARDUINO_BUILDER_TOOLS_PATH to make it easier to

get up and running on arch
pull/944/head
Jesse Vincent 4 years ago
parent 1d0d2d43d0
commit de45646c9d
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

@ -405,7 +405,7 @@ do_compile () {
-hardware "${ARDUINO_PATH}/hardware" \ -hardware "${ARDUINO_PATH}/hardware" \
-hardware "${BOARD_HARDWARE_PATH}" \ -hardware "${BOARD_HARDWARE_PATH}" \
${ARDUINO_TOOLS_FLAG:+"${ARDUINO_TOOLS_FLAG}"} ${ARDUINO_TOOLS_PARAM:+"${ARDUINO_TOOLS_PARAM}"} \ ${ARDUINO_TOOLS_FLAG:+"${ARDUINO_TOOLS_FLAG}"} ${ARDUINO_TOOLS_PARAM:+"${ARDUINO_TOOLS_PARAM}"} \
-tools "${ARDUINO_PATH}/tools-builder" \ -tools "${ARDUINO_BUILDER_TOOLS_PATH}" \
-fqbn "${FQBN}" \ -fqbn "${FQBN}" \
-libraries "." \ -libraries "." \
-libraries "${KALEIDOSCOPE_DIR}" \ -libraries "${KALEIDOSCOPE_DIR}" \

@ -69,7 +69,7 @@ dump_arduino_prefs() {
-hardware "${ARDUINO_PATH}/hardware" \ -hardware "${ARDUINO_PATH}/hardware" \
-hardware "${BOARD_HARDWARE_PATH}" \ -hardware "${BOARD_HARDWARE_PATH}" \
${ARDUINO_TOOLS_FLAG:+"${ARDUINO_TOOLS_FLAG}"} ${ARDUINO_TOOLS_PARAM:+"${ARDUINO_TOOLS_PARAM}"} \ ${ARDUINO_TOOLS_FLAG:+"${ARDUINO_TOOLS_FLAG}"} ${ARDUINO_TOOLS_PARAM:+"${ARDUINO_TOOLS_PARAM}"} \
-tools "${ARDUINO_PATH}/tools-builder" \ -tools "${ARDUINO_BUILDER_TOOLS_PATH}" \
-fqbn "${FQBN}" \ -fqbn "${FQBN}" \
-build-path "${ARDUINO_PATH}" \ -build-path "${ARDUINO_PATH}" \
-dump-prefs "${SKETCH_DIR}/${SKETCH}.ino" ) -dump-prefs "${SKETCH_DIR}/${SKETCH}.ino" )
@ -224,6 +224,7 @@ fi
: "${ARDUINO_PACKAGE_PATH:=${HOME}/.arduino15/packages}" : "${ARDUINO_PACKAGE_PATH:=${HOME}/.arduino15/packages}"
: "${ARDUINO_BUILDER:=${ARDUINO_PATH}/arduino-builder}" : "${ARDUINO_BUILDER:=${ARDUINO_PATH}/arduino-builder}"
: "${ARDUINO_BUILDER_TOOLS_PATH}:=${ARDUINO_PATH}/tools-builder"
ARDUINO_IDE_VERSION="10607" ARDUINO_IDE_VERSION="10607"
###### ######

Loading…
Cancel
Save