nuttx-apps
nuttx-apps copied to clipboard
LIBPATHS and EXTRA_LIBS appending not work for app's Makefile
if put bellow in user apps Makefile
EXTRA_LIBPATHS += -L $(PWD)
LIBPATHS += $(PWD)
EXTRA_LIBS += -lnimcache
it seems, when linking the final binary, these flags were not appended to LD.
and CFLAGS += also won't work, IS there any way to achieve this ?
Yes, nuttx/Makefile invoke but not include apps/Makefile. So the change to EXTRA_LIBPATHS/EXTRA_LIBS can't propagate to nuttx/Makefile.
It is welcome to provide a solution fix this problem.
is there any nuttx talking groups or what exists? PS: I'm from CN, QQ group is ok.
Yes, here: https://nuttx.apache.org/community/