From 634ec46813c650851c48facab7e8a687f1a96d0b Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 24 Jul 2019 01:09:45 -0400 Subject: [PATCH] initial_pins: Only build when CONFIG_HAVE_GPIO is enabled Signed-off-by: Kevin O'Connor --- src/Makefile | 4 ++-- 1 file 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