diff options
Diffstat (limited to 'src/arch/msp430fr5994lp/Makefile.inc')
-rw-r--r-- | src/arch/msp430fr5994lp/Makefile.inc | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/arch/msp430fr5994lp/Makefile.inc b/src/arch/msp430fr5994lp/Makefile.inc index 9446aeb..68d3894 100644 --- a/src/arch/msp430fr5994lp/Makefile.inc +++ b/src/arch/msp430fr5994lp/Makefile.inc @@ -58,12 +58,8 @@ else ifneq ($(findstring i2c,${arch_drivers}), ) CONFIG_arch_msp430fr5994lp_driver_i2c = y endif -ifneq ($(findstring spi_a1,${arch_drivers}), ) - CONFIG_arch_msp430fr5994lp_driver_spi_a1 = y -endif - -ifneq ($(findstring spi_b,${arch_drivers}), ) - CONFIG_arch_msp430fr5994lp_driver_spi_b = y +ifneq ($(findstring spi,${arch_drivers}), ) + CONFIG_arch_msp430fr5994lp_driver_spi = y endif ifneq ($(findstring timer,${arch_drivers}), ) @@ -93,12 +89,8 @@ ifdef CONFIG_arch_msp430fr5994lp_driver_i2c COMMON_FLAGS += -DDRIVER_I2C endif -ifdef CONFIG_arch_msp430fr5994lp_driver_spi_a1 - CXX_TARGETS += src/arch/msp430fr5994lp/driver/spi_a1.cc -endif - -ifdef CONFIG_arch_msp430fr5994lp_driver_spi_b - CXX_TARGETS += src/arch/msp430fr5994lp/driver/spi_b.cc +ifdef CONFIG_arch_msp430fr5994lp_driver_spi + CXX_TARGETS += src/arch/msp430fr5994lp/driver/spi.cc endif ifdef CONFIG_arch_msp430fr5994lp_driver_timer |