From b55703d83726b3afc6ad31bc6ffcef588d44772c Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 2 Jul 2021 13:05:55 -0400 Subject: [PATCH] Makefile: Allow CONFIG_HAVE_GPIO_BITBANGING when not CONFIG_HAVE_GPIO_SPI Signed-off-by: Kevin O'Connor --- src/Makefile | 5 +++-- 1 file 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