summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/arduino-nano/Makefile.inc2
-rw-r--r--src/arch/msp430fr5969lp/Makefile.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/arduino-nano/Makefile.inc b/src/arch/arduino-nano/Makefile.inc
index 42b743f..bceecad 100644
--- a/src/arch/arduino-nano/Makefile.inc
+++ b/src/arch/arduino-nano/Makefile.inc
@@ -25,7 +25,7 @@ TARGETS += src/arch/arduino-nano/driver/stdout.cc
TARGETS += src/arch/arduino-nano/driver/uptime.cc
ifneq ($(findstring softi2c,${drivers}), )
-else ($(findstring i2c,${arch_drivers}), )
+else ifneq ($(findstring i2c,${arch_drivers}), )
TARGETS += src/arch/arduino-nano/driver/i2c.cc
endif
diff --git a/src/arch/msp430fr5969lp/Makefile.inc b/src/arch/msp430fr5969lp/Makefile.inc
index 066a152..3b8fcd1 100644
--- a/src/arch/msp430fr5969lp/Makefile.inc
+++ b/src/arch/msp430fr5969lp/Makefile.inc
@@ -30,7 +30,7 @@ ifneq ($(findstring stdin,${arch_drivers}), )
endif
ifneq ($(findstring softi2c,${drivers}), )
-else ($(findstring i2c,${arch_drivers}), )
+else ifneq ($(findstring i2c,${arch_drivers}), )
TARGETS += src/arch/msp430fr5969lp/driver/i2c.cc
endif