I see that it is possible to use:

make EXTRAFLAGS=<some flags>

to pass flags to be used during compilation, but there does not seem to be a 
way to pass extra
link-time flags. There is EXTRA_LIBS and EXTRA_LIBPATHS but these are used 
internally and if I do:

make EXTRA_LIBS=<flags> EXTRA_LIBPATHS=<flags>

these <flags> override the internal ones and compilation fails. Is there a way 
to do this already or
it is something that would need to be added? Note that I'm aware that you could 
do this from each board's
Make.defs, but the point is to allow linking against external library without 
modifying anything inside nuttx/
each time.

Best,
Matias

Reply via email to