summaryrefslogtreecommitdiff
path: root/development/sdcc/patches
diff options
context:
space:
mode:
Diffstat (limited to 'development/sdcc/patches')
-rw-r--r--development/sdcc/patches/source-tree.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/development/sdcc/patches/source-tree.patch b/development/sdcc/patches/source-tree.patch
new file mode 100644
index 0000000000..dea29a7b87
--- /dev/null
+++ b/development/sdcc/patches/source-tree.patch
@@ -0,0 +1,34 @@
+diff --git a/device/lib/Makefile.in b/device/lib/Makefile.in
+--- a/device/lib/Makefile.in
++++ b/device/lib/Makefile.in
+@@ -521,10 +521,10 @@
+ for src in $(MODELS) ds390 ds400 z80 z180 r2k r3ka tlcs90 gbz80 hc08 s08 stm8 pic14 pic16; do \
+ find $(sdcc_libdir)/src/$$src -depth \
+ \( -name '*.rel' -o -name '*.dump*' -o -name '*.sym' -o -name '*.o' -o -name '*.lib' -o \
+- -name '*.lst' -o -name '*.asm' -o -name '.svn' -o -name 'autom4te.cache' -o \
++ -name '*.lst' -o -name '*.asm' -o -name '*.cod' -o -name '*.hex' -o -name '.svn' -o -name 'autom4te.cache' -o \
+ -name 'build' -o -name 'bin' -o -name 'Makefile*' -o -name 'config*' -o \
+- -name 'depcomp' -o -name 'missing' -o -name 'install-sh' -o \
+- -name 'bootstrap.sh' \) \
++ -name 'depcomp' -o -name 'missing' -o -name 'install-sh' -o -name 'stamp-h1' -o \
++ -name 'bootstrap.sh' -o -name '.deps' -o -name '.checkdevices' -o -name '.checksupport' -o -name 'pics.supported' \) \
+ -exec rm -rf {} + ; \
+ done
+ find $(sdcc_libdir)/src/mcs51 -depth \
+diff --git a/device/non-free/lib/Makefile.in b/device/non-free/lib/Makefile.in
+--- a/device/non-free/lib/Makefile.in
++++ b/device/non-free/lib/Makefile.in
+@@ -354,10 +354,10 @@
+ for src in pic14 pic16; do \
+ find $(sdcc_libdir)/src/$$src -depth \
+ \( -name '*.rel' -o -name '*.dump*' -o -name '*.sym' -o -name '*.o' -o -name '*.lib' -o \
+- -name '*.lst' -o -name '*.asm' -o -name '.svn' -o -name 'autom4te.cache' -o \
++ -name '*.lst' -o -name '*.asm' -o -name '*.cod' -o -name '*.hex' -o -name '.svn' -o -name 'autom4te.cache' -o \
+ -name 'build' -o -name 'bin' -o -name 'Makefile*' -o -name 'config*' -o \
+- -name 'depcomp' -o -name 'missing' -o -name 'install-sh' -o \
+- -name 'bootstrap.sh' \) \
++ -name 'depcomp' -o -name 'missing' -o -name 'install-sh' -o -name 'stamp-h1' -o \
++ -name 'bootstrap.sh' -o -name '.deps' -o -name '.checkdevices' -o -name '.checksupport' -o -name 'pics.supported' \) \
+ -exec rm -rf {} + ; \
+ done
+