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:
parent
a31316cab5
commit
10a5c660f2
@ -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 all libraries
|
||||
|
||||
EXPORTLIBS = $(NUTTXLIBS)
|
||||
|
@ -118,6 +118,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)
|
||||
|
@ -73,6 +73,12 @@ boards$(DELIM)libboards$(LIBEXT): pass2dep
|
||||
staging$(DELIM)libboards$(LIBEXT): boards$(DELIM)libboards$(LIBEXT)
|
||||
$(Q) $(call INSTALL_LIB,$<,$@)
|
||||
|
||||
$(ARCH_SRC)$(DELIM)board$(DELIM)libboard$(LIBEXT): pass2dep
|
||||
$(Q) $(MAKE) -C $(ARCH_SRC)/board libboard$(LIBEXT) EXTRAFLAGS="$(KDEFINE) $(EXTRAFLAGS)"
|
||||
|
||||
staging$(DELIM)libboard$(LIBEXT): $(ARCH_SRC)$(DELIM)board$(DELIM)libboard$(LIBEXT)
|
||||
$(Q) $(call INSTALL_LIB,$<,$@)
|
||||
|
||||
crypto$(DELIM)libcrypto$(LIBEXT): pass2dep
|
||||
$(Q) $(MAKE) -C crypto libcrypto$(LIBEXT) EXTRAFLAGS="$(KDEFINE) $(EXTRAFLAGS)"
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user