waf: fixed cygwin build for ChibiOS
keep path lengths to linker short
This commit is contained in:
parent
08634903c8
commit
3e9f0f83f0
@ -375,9 +375,10 @@ class chibios(Board):
|
||||
'-mfpu=fpv4-sp-d16',
|
||||
'-mno-thumb-interwork',
|
||||
'-mthumb',
|
||||
'-L%s' % env.BUILDROOT,
|
||||
'-L%s' % cfg.srcnode.make_node('modules/ChibiOS/os/common/startup/ARMCMx/compilers/GCC/ld/').abspath(),
|
||||
'-L%s' % cfg.srcnode.make_node('libraries/AP_HAL_ChibiOS/hwdef/common/').abspath(),
|
||||
'-Wl,--gc-sections,--no-warn-mismatch,--library-path=/ld,--script=%s/ldscript.ld,--defsym=__process_stack_size__=0x400,--defsym=__main_stack_size__=0x400' % env.BUILDROOT,
|
||||
'-Wl,--gc-sections,--no-warn-mismatch,--library-path=/ld,--script=ldscript.ld,--defsym=__process_stack_size__=0x400,--defsym=__main_stack_size__=0x400',
|
||||
]
|
||||
|
||||
env.LIB += ['gcc', 'm']
|
||||
|
Loading…
Reference in New Issue
Block a user