Skip to content

Commit

Permalink
Makefile: list AuxiliaryTasks and RtLock in CORE_CORE_OBJS instead of…
Browse files Browse the repository at this point in the history
… LIB_OBJS dependencies (why were they there in the first place???)
  • Loading branch information
giuliomoro committed Jun 1, 2024
1 parent dace157 commit 7d178a1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,8 @@ build/core/RTAudioCommandLine.o \
build/core/RtWrappers.o \
build/core/math_runfast.o \
build/core/board_detect.o \
build/core/AuxiliaryTasks.o \
build/core/RtLock.o \
#$(CORE_HW_OBJS)
# this line intentionally left blank (it's not)

Expand Down Expand Up @@ -809,7 +811,7 @@ lib/$(LIB_EXTRA_A): $(LIB_EXTRA_OBJS) $(PRU_OBJS) $(LIB_DEPS)

LIB_SO =libbela.so
LIB_A = libbela.a
LIB_OBJS = $(CORE_CORE_OBJS) build/core/AuxiliaryTasks.o build/core/Gpio.o build/core/RtLock.o
LIB_OBJS = $(CORE_CORE_OBJS)
lib/$(LIB_SO): $(LIB_OBJS)
$(AT) echo Building lib/$(LIB_SO)
$(AT) $(CXX) $(BELA_LDFLAGS) $(LDFLAGS) -shared -Wl,-soname,$(LIB_SO) $(LDLIBS) -o lib/$(LIB_SO) $(LIB_OBJS) $(LDLIBS) $(BELA_CORE_LDLIBS)
Expand Down

0 comments on commit 7d178a1

Please sign in to comment.