summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-07-12 13:27:33 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-07-12 13:27:33 +0200
commit2419fe236b1b9da1f134586fd1999264b360fc36 (patch)
tree266c91537d8da1bbf0d25e627e4e278ee6d3cb29 /src/arch
parent7119fc49dfaa8586c4930a80d6d6041bc5b9fa33 (diff)
Fix i2c feature syntax in arch Makefiles
Diffstat (limited to 'src/arch')
-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