summaryrefslogtreecommitdiff
path: root/chip/stm32/build.mk
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/build.mk')
-rw-r--r--chip/stm32/build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/build.mk b/chip/stm32/build.mk
index 72984eec5f..41ceaeb12c 100644
--- a/chip/stm32/build.mk
+++ b/chip/stm32/build.mk
@@ -36,7 +36,7 @@ endif
DMA_TYPE=$(if $(CHIP_FAMILY_STM32F4)$(CHIP_FAMILY_STM32H7),-stm32f4,)
SPI_TYPE=$(if $(CHIP_FAMILY_STM32H7),-stm32h7,)
-chip-$(CONFIG_DMA)+=dma$(DMA_TYPE).o
+chip-$(CONFIG_DMA_CROS)+=dma$(DMA_TYPE).o
chip-$(CONFIG_COMMON_RUNTIME)+=bkpdata.o system.o
chip-y+=clock-$(CHIP_FAMILY).o
ifeq ($(CHIP_FAMILY),$(filter $(CHIP_FAMILY),stm32f0 stm32f3 stm32f4))