summaryrefslogtreecommitdiff
path: root/hw/bsp/sltb009a
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-11-23 12:43:13 +0700
committerhathach <[email protected]>2023-11-23 12:43:13 +0700
commit82880eecbd51ce8cf801ae0c04871e65f81826f4 (patch)
treec22f030dfd488da61173967ac192176bb3cd498f /hw/bsp/sltb009a
parent1a98f5389c70d159f359c5bfe369d1cbf3af7475 (diff)
make nanolib linking explicitly by each family/board
Diffstat (limited to 'hw/bsp/sltb009a')
-rw-r--r--hw/bsp/sltb009a/board.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/bsp/sltb009a/board.mk b/hw/bsp/sltb009a/board.mk
index f9c1dd4db..a04bc19d8 100644
--- a/hw/bsp/sltb009a/board.mk
+++ b/hw/bsp/sltb009a/board.mk
@@ -19,6 +19,8 @@ SILABS_CMSIS = hw/mcu/silabs/cmsis-dfp-$(SILABS_FAMILY)/Device/SiliconLabs/$(she
DEPS_SUBMODULES += hw/mcu/silabs/cmsis-dfp-$(SILABS_FAMILY)
DEPS_SUBMODULES += lib/CMSIS_5
+LDFLAGS_GCC += -specs=nosys.specs -specs=nano.specs
+
# All source paths should be relative to the top level.
LD_FILE = $(SILABS_CMSIS)/Source/GCC/$(SILABS_FAMILY).ld