Suggested changes for ./build-toolchain.sh --debug
Building with ./build-
Excepted Build Log:
<...snip>
+ pushd /STM32/
/STM32/
+ /STM32/
<...snip...>
+ GCC_FINAL_CFLAGS=
+ '[' 'x -O0 -g ' '!=' xno ']'
+ GCC_FINAL_
+ make -j1 CFLAGS= -O0 -g INHIBIT_
make: invalid option -- O
make: invalid option -- 0
make: invalid option -- g
Usage: make [options] [target] ...
Suggested change (1) to build-toolchain.sh is from line 61.old to 61, wherein we insert single quotes to explicitly denote the string of build options:
60 --debug)
61.old DEBUG_BUILD_
61 DEBUG_BUILD_
62 ;;
Suggested change (2) to build-toolchain.sh is from line 296.o to 296, wherein we again insert single quotes to explicitly denote the string of build options:
295 make -j$JOBS ${GCC_FINAL_CFLAGS} \
296.o INHIBIT_
296 INHIBIT_
297
This appeared to build properly with the '/build-
Cheers,
Joe
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Joe Gorse
- Solved:
- Last query:
- Last reply: