You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/05/20 13:10:04 UTC

[GitHub] [incubator-nuttx] f4grx edited a comment on issue #2206: Out-of-tree custom board example missing from documentation

f4grx edited a comment on issue #2206:
URL: https://github.com/apache/incubator-nuttx/issues/2206#issuecomment-845104620


   ```
   make[1]: Entering directory '/home/slo/nut/nuttx/fs'
   make[1]: 'libfs.a' is up to date.
   make[1]: Leaving directory '/home/slo/nut/nuttx/fs'
   make[1]: Entering directory '/home/slo/nut/nuttx/binfmt'
   make[1]: 'libbinfmt.a' is up to date.
   make[1]: Leaving directory '/home/slo/nut/nuttx/binfmt'
   make[1]: Entering directory '/home/slo/nut/nuttx/arch/arm/src'
   make[2]: Entering directory '/home/slo/nut/my_own_nucleo/src'
   echo "damn you libboard"
   damn you libboard
   make[2]: Leaving directory '/home/slo/nut/my_own_nucleo/src'
   LD: nuttx
   arm-none-eabi-ld: cannot find -lboard
   make[1]: *** [Makefile:156: nuttx] Error 1
   make[1]: Leaving directory '/home/slo/nut/nuttx/arch/arm/src'
   make: *** [tools/Makefile.unix:422: nuttx] Error 2
   $ cat /home/slo/nut/my_own_nucleo/src/Makefile
   context:
           echo "damn you context"
   libboard.a:
           echo "damn you libboard"
   ```
   
   The issue seems to be a missing Makefile in the src subdirectory of the custom board. If I add one with a small echo comment in it, I see it displayed.
   
   the makefile is probably optional for built-in boards but it is required for custom boards.
   
   So WHAT makefile has to be there and with what rules?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org