Hello,

I have to update the nuttx in our project from pre-apache to last version.

We would like to use the external board feature.

As a test I copied the nucleo-f446re folder in boards/arm to somewhere else (sibling to apps and nuttx), renamed it, and pointed to it in the configuration. make menuconfig was happy with that.

However the build fails:

IN: fs/libfs.a -> staging/libfs.a
make[1]: Entering directory '/home/slo/nut/nuttx/binfmt'
CC:  binfmt_globals.c
CC:  binfmt_initialize.c
CC:  binfmt_register.c
CC:  binfmt_unregister.c
CC:  binfmt_loadmodule.c
CC:  binfmt_unloadmodule.c
CC:  binfmt_execmodule.c
CC:  binfmt_exec.c
CC:  binfmt_copyargv.c
CC:  binfmt_dumpmodule.c
CC:  builtin.c
AR (create): libbinfmt.a   binfmt_globals.o binfmt_initialize.o binfmt_register.o binfmt_unregister.o binfmt_loadmodule.o binfmt_unloadmodule.o binfmt_execmodule.o binfmt_exec.o binfmt_copyargv.o binfmt_dumpmodule.o builtin.o
make[1]: Leaving directory '/home/slo/nut/nuttx/binfmt'
IN: binfmt/libbinfmt.a -> staging/libbinfmt.a
make[1]: Entering directory '/home/slo/nut/nuttx/arch/arm/src'
make[2]: Entering directory '/home/slo/nut/my_own_nucleo/src'
make[2]: *** No rule to make target 'libboard.a'.  Stop.
make[2]: Leaving directory '/home/slo/nut/my_own_nucleo/src'
make[1]: *** [Makefile:152: board/libboard.a] Error 2
make[1]: Leaving directory '/home/slo/nut/nuttx/arch/arm/src'
make: *** [tools/Makefile.unix:422: nuttx] Error 2

Looks like a Makefile (or just a rule) is missing. Is it a bug in this board/arch or in my own method or a problem in the external board build system?

I'm using a relative board path.

I'll add a github issue when the problem is understood.

Sebastien

Reply via email to