Skip to content

Commit

Permalink
Only compile tdoa files when loco deck is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
krichardsson committed Nov 3, 2022
1 parent 2b40c0c commit aa0e75e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/modules/src/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ obj-y += static_mem.o
obj-y += supervisor.o
obj-y += sysload.o
obj-y += system.o
obj-y += tdoaEngineInstance.o
obj-$(CONFIG_DECK_LOCO) += tdoaEngineInstance.o
obj-y += vcp_esc_passthrough.o
obj-y += worker.o
obj-$(CONFIG_ENABLE_CPX) += cpx/cpx_external_router.o
Expand Down
6 changes: 3 additions & 3 deletions src/utils/src/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ obj-y += sleepus.o
obj-y += statsCnt.o

# TDoA
obj-y += tdoa/tdoaEngine.o
obj-y += tdoa/tdoaStats.o
obj-y += tdoa/tdoaStorage.o
obj-$(CONFIG_DECK_LOCO) += tdoa/tdoaEngine.o
obj-$(CONFIG_DECK_LOCO) += tdoa/tdoaStats.o
obj-$(CONFIG_DECK_LOCO) += tdoa/tdoaStorage.o

0 comments on commit aa0e75e

Please sign in to comment.