diff options
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 5a640863..5c7dc085 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,4 +1,5 @@ # Main code build rules -src-y += sched.c command.c stepper.c basecmd.c gpiocmds.c spicmds.c endstop.c +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 |