From b423cbf6ad37c6183c363718a984869ef2e7f8bd Mon Sep 17 00:00:00 2001 From: Eric Kidd Date: Wed, 4 Feb 2015 17:18:57 +0000 Subject: [PATCH] For Arduino 1.6, skip huge WiFi/extras directory The directory /usr/share/arduino/libraries/WiFi/extras/ contains a large number of subdirectories that will cause the generated Makefile to include too many "-I" flags and overrun the command- line length limit. --- ino/commands/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ino/commands/build.py b/ino/commands/build.py index 65a9f8e..4b9abae 100644 --- a/ino/commands/build.py +++ b/ino/commands/build.py @@ -221,7 +221,7 @@ def recursive_inc_lib_flags(self, libdirs): flags = SpaceList() for d in libdirs: flags.append('-I' + d) - flags.extend('-I' + subd for subd in list_subdirs(d, recursive=True, exclude=['examples'])) + flags.extend('-I' + subd for subd in list_subdirs(d, recursive=True, exclude=['examples', 'extras'])) return flags def _scan_dependencies(self, dir, lib_dirs, inc_flags):