aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-06-08 19:44:34 -0400
committerKevin O'Connor <kevin@koconnor.net>2016-06-13 23:18:59 -0400
commit4fcf5a31f5c6d84749b3ae85be9482161fd33815 (patch)
tree26e65e5fc287cc47ec7c58a879e9dcce06587941 /src/Makefile
parentc20f99374701709888644f7a5d849985ac29fdf9 (diff)
downloadkutter-4fcf5a31f5c6d84749b3ae85be9482161fd33815.tar.gz
kutter-4fcf5a31f5c6d84749b3ae85be9482161fd33815.tar.xz
kutter-4fcf5a31f5c6d84749b3ae85be9482161fd33815.zip
pwmcmds: Add Kconfig option to allow boards to disable hardware PWM commands
Some boards may not support hardware based PWM. Update the build so that those commands do not need to be compiled if they are not available. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index 5c7dc085..b4a4c33e 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -3,3 +3,4 @@
src-y += sched.c command.c stepper.c basecmd.c gpiocmds.c endstop.c
src-$(CONFIG_HAVE_GPIO_ADC) += adccmds.c
src-$(CONFIG_HAVE_GPIO_SPI) += spicmds.c
+src-$(CONFIG_HAVE_GPIO_HARD_PWM) += pwmcmds.c