From 067b14a16c507a44f0de7b57d4083eed26cc4572 Mon Sep 17 00:00:00 2001
From: Federico Fissore <federico@fissore.org>
Date: Mon, 21 Jan 2013 19:13:30 +0100
Subject: [PATCH] see #1227 tgz reduced from 79M(395M uncompressed) to 56M(193M
 uncompressed)

---
 build/build.xml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/build/build.xml b/build/build.xml
index 00f995944..e596dfcae 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -89,7 +89,14 @@
     
     <!-- copy hardware folder -->
     <copy todir="${target.path}/hardware">
-      <fileset dir="../hardware" />
+      <fileset dir="../hardware">
+        <exclude name="arduino/sam/system/CMSIS/Device/ATMEL/*/svd/"/>
+        <exclude name="arduino/sam/system/CMSIS/Device/ATMEL/*/html/"/>
+        <exclude name="arduino/sam/system/CMSIS/CMSIS/Lib/ARM/*M0*"/>
+        <exclude name="arduino/sam/system/CMSIS/CMSIS/Lib/ARM/*M4*"/>
+        <exclude name="arduino/sam/system/CMSIS/CMSIS/Lib/GCC/*M0*"/>
+        <exclude name="arduino/sam/system/CMSIS/CMSIS/Lib/GCC/*M4*"/>
+      </fileset>
     </copy>
     
     <!-- copy shared examples folder -->