BUILD: makefile: add an EXTRA_OBJS variable to help build optional code
This variable will be useful to build experimental autonomous code like new muxes without having to patch the makefile.
This commit is contained in:
parent
f77a158c87
commit
ada5d09142
6
Makefile
6
Makefile
|
@ -489,6 +489,9 @@ OPTIONS_CFLAGS =
|
|||
OPTIONS_LDFLAGS =
|
||||
OPTIONS_OBJS =
|
||||
|
||||
#### Extra objects to be built and integrated (used only for development)
|
||||
EXTRA_OBJS =
|
||||
|
||||
# This variable collects all USE_* values except those set to "implicit". This
|
||||
# is used to report a list of all flags which were used to build this version.
|
||||
# Do not assign anything to it.
|
||||
|
@ -958,6 +961,9 @@ ifneq ($(TRACE),)
|
|||
OBJS += src/trace.o
|
||||
endif
|
||||
|
||||
ifneq ($(EXTRA_OBJS),)
|
||||
OBJS += $(EXTRA_OBJS)
|
||||
endif
|
||||
|
||||
# Not used right now
|
||||
LIB_EBTREE = $(EBTREE_DIR)/libebtree.a
|
||||
|
|
Loading…
Reference in New Issue