From 3f6ccb24fd57653c01493ce23cbd4c791dde6ffd Mon Sep 17 00:00:00 2001 From: Joseph Morrow Date: Wed, 10 Sep 2014 12:20:47 -0400 Subject: [PATCH] A fix for building the Arduino TBStack without wifi libraries. This bug was apparent even when building for only ethernet, the makefile expected the wifi libraries to exist. Now the makefile only expects the wifi libraries to exist if you're building for wifi shield. Patch 2: Rebase Patch 3: Moved implementation in to just arduinomega.properties as per Sachin's suggestion. Change-Id: Id06387e0d10244d71ae83a00068a0ef2f615ee84 --- csdk/arduinomega.properties | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/csdk/arduinomega.properties b/csdk/arduinomega.properties index 0d319e0..925c477 100644 --- a/csdk/arduinomega.properties +++ b/csdk/arduinomega.properties @@ -43,5 +43,8 @@ ETH_UTIL_CPPOBJ = socket.o w5100.o WIFI_COBJ = WiFi.o WiFiClient.o WiFiServer.o WiFiUdp.o server_drv.o spi_drv.o wifi_drv.o OCDEPENDENT_CPPOBJ = wiring_analog.o -PLATFORM_OBJS = $(CORE_COBJ) $(CORE_CPPOBJ) $(ETH_CPPOBJ) $(ETH_UTIL_CPPOBJ) $(OCDEPENDENT_CPPOBJ) $(WIFI_COBJ) +PLATFORM_OBJS = $(CORE_COBJ) $(CORE_CPPOBJ) $(ETH_CPPOBJ) $(ETH_UTIL_CPPOBJ) $(OCDEPENDENT_CPPOBJ) +ifeq ($(ARDUINOWIFI),1) + PLATFORM_OBJS += $(WIFI_COBJ) +endif -- 2.7.4