summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toolchain/binutils/patches/2.20.1/disable-docs.patch67
-rw-r--r--toolchain/gcc/patches/4.4.7/disable-docs.patch75
-rw-r--r--toolchain/gdb/patches/6.7.1/disable-docs.patch12
3 files changed, 154 insertions, 0 deletions
diff --git a/toolchain/binutils/patches/2.20.1/disable-docs.patch b/toolchain/binutils/patches/2.20.1/disable-docs.patch
new file mode 100644
index 000000000..3cc3b43eb
--- /dev/null
+++ b/toolchain/binutils/patches/2.20.1/disable-docs.patch
@@ -0,0 +1,67 @@
+diff -Nur binutils-2.20.1.orig/Makefile.in binutils-2.20.1/Makefile.in
+--- binutils-2.20.1.orig/Makefile.in 2010-03-03 15:17:40.000000000 +0100
++++ binutils-2.20.1/Makefile.in 2016-01-26 11:42:40.890964104 +0100
+@@ -2533,15 +2533,11 @@
+ # in fact building texinfo.
+ do-info: maybe-all-texinfo
+
+-install-info: do-install-info dir.info
+- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+- if [ -f dir.info ] ; then \
+- $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
+- else true ; fi
++install-info:
+
+-install-pdf: do-install-pdf
++install-pdf:
+
+-install-html: do-install-html
++install-html:
+
+ local-clean:
+ -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
+diff -Nur binutils-2.20.1.orig/bfd/Makefile.in binutils-2.20.1/bfd/Makefile.in
+--- binutils-2.20.1.orig/bfd/Makefile.in 2010-03-03 14:59:15.000000000 +0100
++++ binutils-2.20.1/bfd/Makefile.in 2016-01-26 12:37:19.469828045 +0100
+@@ -320,7 +320,7 @@
+ # RELEASE=y
+ INCDIR = $(srcdir)/../include
+ CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
+-SUBDIRS = doc po
++SUBDIRS = po
+ bfddocdir = doc
+ libbfd_la_LDFLAGS = $(am__append_1) -release `cat libtool-soversion` \
+ @SHARED_LDFLAGS@ $(am__empty)
+diff -Nur binutils-2.20.1.orig/gas/Makefile.in binutils-2.20.1/gas/Makefile.in
+--- binutils-2.20.1.orig/gas/Makefile.in 2010-03-03 15:00:19.000000000 +0100
++++ binutils-2.20.1/gas/Makefile.in 2016-01-26 13:14:22.395769839 +0100
+@@ -278,7 +278,7 @@
+ top_srcdir = @top_srcdir@
+ AUTOMAKE_OPTIONS = 1.11 dejagnu foreign no-dist
+ ACLOCAL_AMFLAGS = -I .. -I ../config -I ../bfd
+-SUBDIRS = doc po
++SUBDIRS = po
+ tooldir = $(exec_prefix)/$(target_alias)
+
+ # Automake 1.10+ disables lex and yacc output file regeneration if
+diff -Nur binutils-2.20.1.orig/ld/Makefile.in binutils-2.20.1/ld/Makefile.in
+--- binutils-2.20.1.orig/ld/Makefile.in 2010-03-03 15:06:21.000000000 +0100
++++ binutils-2.20.1/ld/Makefile.in 2016-01-26 12:53:13.726661618 +0100
+@@ -101,7 +101,7 @@
+ LTYACCCOMPILE = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS)
+ SOURCES = $(ld_new_SOURCES) $(EXTRA_ld_new_SOURCES)
+-INFO_DEPS = ld.info
++INFO_DEPS =
+ am__TEXINFO_TEX_DIR = $(srcdir)/$(top_srcdir)/../texinfo
+ DVIS = ld.dvi
+ PDFS = ld.pdf
+@@ -387,7 +387,7 @@
+ info_TEXINFOS = ld.texinfo
+ ld_TEXINFOS = configdoc.texi
+ noinst_TEXINFOS = ldint.texinfo
+-man_MANS = ld.1
++man_MANS =
+ AM_MAKEINFOFLAGS = -I $(srcdir) -I $(BFDDIR)/doc -I ../bfd/doc \
+ -I $(top_srcdir)/../libiberty
+
diff --git a/toolchain/gcc/patches/4.4.7/disable-docs.patch b/toolchain/gcc/patches/4.4.7/disable-docs.patch
new file mode 100644
index 000000000..3f5df0979
--- /dev/null
+++ b/toolchain/gcc/patches/4.4.7/disable-docs.patch
@@ -0,0 +1,75 @@
+diff -Nur gcc-4.4.7.orig/gcc/Makefile.in gcc-4.4.7/gcc/Makefile.in
+--- gcc-4.4.7.orig/gcc/Makefile.in 2010-09-07 13:07:31.000000000 +0200
++++ gcc-4.4.7/gcc/Makefile.in 2016-01-27 09:20:30.562985685 +0100
+@@ -1578,10 +1578,10 @@
+ quickstrap: all
+ cd $(toplevel_builddir) && $(MAKE) all-target-libgcc
+
+-all.internal: start.encap rest.encap doc
++all.internal: start.encap rest.encap
+ # This is what to compile if making a cross-compiler.
+ all.cross: native gcc-cross$(exeext) cpp$(exeext) specs \
+- libgcc-support lang.all.cross doc @GENINSRC@ srcextra
++ libgcc-support lang.all.cross @GENINSRC@ srcextra
+ # This is what must be made before installing GCC and converting libraries.
+ start.encap: native xgcc$(exeext) cpp$(exeext) specs \
+ libgcc-support lang.start.encap @GENINSRC@ srcextra
+@@ -3808,39 +3808,23 @@
+ #
+ # Remake the info files.
+
+-doc: $(BUILD_INFO) $(GENERATED_MANPAGES) gccbug
++doc:
+
+-INFOFILES = doc/cpp.info doc/gcc.info doc/gccint.info \
+- doc/gccinstall.info doc/cppinternals.info
++INFOFILES =
+
+-info: $(INFOFILES) lang.info @GENINSRC@ srcinfo lang.srcinfo
++info:
+
+-srcinfo: $(INFOFILES)
+- -cp -p $^ $(srcdir)/doc
++srcinfo:
++
++TEXI_CPP_FILES =
+
+-TEXI_CPP_FILES = cpp.texi fdl.texi cppenv.texi cppopts.texi \
+- gcc-common.texi gcc-vers.texi
++TEXI_GCC_FILES =
+
+-TEXI_GCC_FILES = gcc.texi gcc-common.texi gcc-vers.texi frontends.texi \
+- standards.texi invoke.texi extend.texi md.texi objc.texi \
+- gcov.texi trouble.texi bugreport.texi service.texi \
+- contribute.texi compat.texi funding.texi gnu.texi gpl_v3.texi \
+- fdl.texi contrib.texi cppenv.texi cppopts.texi \
+- implement-c.texi arm-neon-intrinsics.texi
+-
+-TEXI_GCCINT_FILES = gccint.texi gcc-common.texi gcc-vers.texi \
+- contribute.texi makefile.texi configterms.texi options.texi \
+- portability.texi interface.texi passes.texi c-tree.texi \
+- rtl.texi md.texi tm.texi hostconfig.texi fragments.texi \
+- configfiles.texi collect2.texi headerdirs.texi funding.texi \
+- gnu.texi gpl_v3.texi fdl.texi contrib.texi languages.texi \
+- sourcebuild.texi gty.texi libgcc.texi cfg.texi tree-ssa.texi \
+- loop.texi generic.texi gimple.texi
++TEXI_GCCINT_FILES =
+
+-TEXI_GCCINSTALL_FILES = install.texi install-old.texi fdl.texi \
+- gcc-common.texi gcc-vers.texi
++TEXI_GCCINSTALL_FILES =
+
+-TEXI_CPPINT_FILES = cppinternals.texi gcc-common.texi gcc-vers.texi
++TEXI_CPPINT_FILES =
+
+ # gcc-vers.texi is generated from the version files.
+ gcc-vers.texi: $(BASEVER) $(DEVPHASE)
+@@ -3948,7 +3932,7 @@
+
+ generated-manpages: man
+
+-man: $(MANFILES) lang.man @GENINSRC@ srcman lang.srcman
++man:
+
+ srcman: $(MANFILES)
+ -cp -p $^ $(srcdir)/doc
diff --git a/toolchain/gdb/patches/6.7.1/disable-docs.patch b/toolchain/gdb/patches/6.7.1/disable-docs.patch
new file mode 100644
index 000000000..eb43a3889
--- /dev/null
+++ b/toolchain/gdb/patches/6.7.1/disable-docs.patch
@@ -0,0 +1,12 @@
+diff -Nur gdb-6.7.1-avr32-2.1.5.orig/bfd/Makefile.in gdb-6.7.1-avr32-2.1.5/bfd/Makefile.in
+--- gdb-6.7.1-avr32-2.1.5.orig/bfd/Makefile.in 2008-07-03 23:21:49.000000000 +0200
++++ gdb-6.7.1-avr32-2.1.5/bfd/Makefile.in 2016-01-27 09:53:43.616726680 +0100
+@@ -274,7 +274,7 @@
+ INCDIR = $(srcdir)/../include
+ CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
+ MKDEP = gcc -MM
+-SUBDIRS = doc po
++SUBDIRS = po
+ bfddocdir = doc
+ bfdlib_LTLIBRARIES = libbfd.la
+ AM_CFLAGS = $(WARN_CFLAGS)