aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-07-24 01:09:45 -0400
committerKevin O'Connor <kevin@koconnor.net>2019-07-24 01:09:45 -0400
commit634ec46813c650851c48facab7e8a687f1a96d0b (patch)
tree740e5afb69718cb4dc0ef652b683f32c6744807e /src/Makefile
parent79bd13dba714ceb8b5c4aad43400c75eb9061aa5 (diff)
downloadkutter-634ec46813c650851c48facab7e8a687f1a96d0b.tar.gz
kutter-634ec46813c650851c48facab7e8a687f1a96d0b.tar.xz
kutter-634ec46813c650851c48facab7e8a687f1a96d0b.zip
initial_pins: Only build when CONFIG_HAVE_GPIO is enabled
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 2eff8a93..92be64e2 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,7 +1,7 @@
# Main code build rules
-src-y += sched.c command.c basecmd.c debugcmds.c initial_pins.c
-src-$(CONFIG_HAVE_GPIO) += gpiocmds.c stepper.c endstop.c
+src-y += sched.c command.c basecmd.c debugcmds.c
+src-$(CONFIG_HAVE_GPIO) += initial_pins.c gpiocmds.c stepper.c endstop.c
src-$(CONFIG_HAVE_GPIO_ADC) += adccmds.c
src-$(CONFIG_HAVE_GPIO_SPI) += spicmds.c thermocouple.c
src-$(CONFIG_HAVE_GPIO_I2C) += i2ccmds.c