diff --git a/Tools/ardupilotwaf/chibios.py b/Tools/ardupilotwaf/chibios.py index e6b96f64b4..b2e072e805 100644 --- a/Tools/ardupilotwaf/chibios.py +++ b/Tools/ardupilotwaf/chibios.py @@ -81,7 +81,7 @@ class generate_fw(Task.Task): run_str='${OBJCOPY} -O binary ${SRC} ${SRC}.bin && \ python ${UPLOAD_TOOLS}/px_mkfw.py --image ${SRC}.bin \ --prototype ${BUILDROOT}/apj.prototype > ${TGT} && \ - ${TOOLS_SCRIPTS}/make_abin.sh ${SRC}.bin ${SRC}.abin' + cd ${TOOLS_SCRIPTS} && ./make_abin.sh $OLDPWD/${SRC}.bin $OLDPWD/${SRC}.abin' always_run = True def keyword(self): return "Generating"