aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32/Makefile')
-rw-r--r--src/stm32/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm32/Makefile b/src/stm32/Makefile
index 98b52e4c..56f1581c 100644
--- a/src/stm32/Makefile
+++ b/src/stm32/Makefile
@@ -46,7 +46,7 @@ src-$(CONFIG_USBSERIAL) += $(usb-src-y) stm32/chipid.c generic/usb_cdc.c
serial-src-y := stm32/serial.c
serial-src-$(CONFIG_MACH_STM32F0) := stm32/stm32f0_serial.c
src-$(CONFIG_SERIAL) += $(serial-src-y) generic/serial_irq.c
-can-src-$(CONFIG_MACH_STM32F0) := stm32/stm32f0_can.c
+can-src-$(CONFIG_CANSERIAL) += stm32/can.c
src-$(CONFIG_CANSERIAL) += $(can-src-y) generic/serial_irq.c
# Binary output file rules