mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-09 14:55:09 -06:00

Some boards may not support SPI transfers. 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>
5 lines
175 B
Makefile
5 lines
175 B
Makefile
# Main code build rules
|
|
|
|
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
|