diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2017-01-16 12:11:04 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2017-01-16 12:11:04 +0000 |
commit | ce7f9addf21d84566a95df6d975d74431854b5ea (patch) | |
tree | 2124d919c4fcfae762ecda9da3685535db978f61 /os/hal/ports/STM32/LLD/OTGv1/driver.mk | |
parent | 9a3437d8f0a4b9b16db1d838f597da50d3ec75f2 (diff) | |
download | ChibiOS-ce7f9addf21d84566a95df6d975d74431854b5ea.tar.gz ChibiOS-ce7f9addf21d84566a95df6d975d74431854b5ea.tar.bz2 ChibiOS-ce7f9addf21d84566a95df6d975d74431854b5ea.zip |
Introduced modularized driver makefiles.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10053 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/LLD/OTGv1/driver.mk')
-rw-r--r-- | os/hal/ports/STM32/LLD/OTGv1/driver.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/LLD/OTGv1/driver.mk b/os/hal/ports/STM32/LLD/OTGv1/driver.mk new file mode 100644 index 000000000..197c1d281 --- /dev/null +++ b/os/hal/ports/STM32/LLD/OTGv1/driver.mk @@ -0,0 +1,9 @@ +ifeq ($(USE_SMART_BUILD),yes)
+ifneq ($(findstring HAL_USE_USB TRUE,$(HALCONF)),)
+PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.c
+endif
+else
+PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/LLD/OTGv1/hal_usb_lld.c
+endif
+
+PLATFORMINC += $(CHIBIOS)/os/hal/ports/STM32/LLD/OTGv1
|