From 2419fe236b1b9da1f134586fd1999264b360fc36 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 12 Jul 2018 13:27:33 +0200 Subject: Fix i2c feature syntax in arch Makefiles --- src/arch/arduino-nano/Makefile.inc | 2 +- src/arch/msp430fr5969lp/Makefile.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/arch') 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 -- cgit v1.2.3