aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-07-02 13:05:55 -0400
committerKevin O'Connor <kevin@koconnor.net>2021-07-04 10:11:02 -0400
commitb55703d83726b3afc6ad31bc6ffcef588d44772c (patch)
treea1b0c209e975b99ff522365751c8fb42f103e719 /src/Makefile
parent1e11b76379a32b8c2599f41705fa6c7bfc6fa718 (diff)
downloadkutter-b55703d83726b3afc6ad31bc6ffcef588d44772c.tar.gz
kutter-b55703d83726b3afc6ad31bc6ffcef588d44772c.tar.xz
kutter-b55703d83726b3afc6ad31bc6ffcef588d44772c.zip
Makefile: Allow CONFIG_HAVE_GPIO_BITBANGING when not CONFIG_HAVE_GPIO_SPI
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 50f893c7..077e4d26 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -7,5 +7,6 @@ src-$(CONFIG_HAVE_GPIO_ADC) += adccmds.c
src-$(CONFIG_HAVE_GPIO_SPI) += spicmds.c thermocouple.c
src-$(CONFIG_HAVE_GPIO_I2C) += i2ccmds.c
src-$(CONFIG_HAVE_GPIO_HARD_PWM) += pwmcmds.c
-src-$(CONFIG_HAVE_GPIO_BITBANGING) += lcd_st7920.c lcd_hd44780.c buttons.c \
- tmcuart.c spi_software.c neopixel.c sensor_adxl345.c pulse_counter.c
+bb-src-$(CONFIG_HAVE_GPIO_SPI) := spi_software.c sensor_adxl345.c
+src-$(CONFIG_HAVE_GPIO_BITBANGING) += $(bb-src-y) lcd_st7920.c lcd_hd44780.c \
+ buttons.c tmcuart.c neopixel.c pulse_counter.c