summaryrefslogtreecommitdiff
path: root/board/nocturne_fp/build.mk
diff options
context:
space:
mode:
Diffstat (limited to 'board/nocturne_fp/build.mk')
-rw-r--r--board/nocturne_fp/build.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/board/nocturne_fp/build.mk b/board/nocturne_fp/build.mk
index f6fd9fe3d9..2091acc101 100644
--- a/board/nocturne_fp/build.mk
+++ b/board/nocturne_fp/build.mk
@@ -9,8 +9,12 @@ CHIP:=stm32
CHIP_FAMILY:=stm32h7
CHIP_VARIANT:=stm32h7x3
+# Don't forget that the board build.mk is included more than once to allow
+# conditional variables to be realized. This means that we need to redefine all
+# variable or the "+=" lines will compound.
+board-y=
board-rw=ro_workarounds.o board_rw.o
-board-y=board.o
+board-ro=board_ro.o
# If we're mocking the sensor detection for testing (so we can test
# sensor/transport permutations in the unit tests), don't build the real sensor
# detection.