tools: Fix an issue that libboard.a is not exported

If CONFIG_ARCH_BOARD_COMMON is enabled, libboard.a should be generated.
Fix an issue it is not built with make export.
This commit is contained in:
SPRESENSE
2022-10-19 19:55:48 +09:00
committed by Petro Karashchenko
parent a31316cab5
commit 10a5c660f2
4 changed files with 24 additions and 0 deletions
+6
View File
@@ -132,6 +132,12 @@ ifeq ($(CONFIG_OPENAMP),y)
NUTTXLIBS += staging$(DELIM)libopenamp$(LIBEXT)
endif
# Add libraries for board common support
ifeq ($(CONFIG_ARCH_BOARD_COMMON),y)
NUTTXLIBS += staging$(DELIM)libboard$(LIBEXT)
endif
# Export only the user libraries
EXPORTLIBS = $(USERLIBS)