From b7abb067e96a68080986ff55db63947668d2d640 Mon Sep 17 00:00:00 2001 From: luka Date: Tue, 26 Feb 2013 16:16:33 +0000 Subject: [toolchain] gcc: don't build documentation This closes #13039. Signed-off-by: Luka Perkov git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35807 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../gcc/patches/4.7.2/010-documentation.patch | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 toolchain/gcc/patches/4.7.2/010-documentation.patch (limited to 'toolchain/gcc/patches/4.7.2/010-documentation.patch') diff --git a/toolchain/gcc/patches/4.7.2/010-documentation.patch b/toolchain/gcc/patches/4.7.2/010-documentation.patch new file mode 100644 index 000000000..4b2286b17 --- /dev/null +++ b/toolchain/gcc/patches/4.7.2/010-documentation.patch @@ -0,0 +1,23 @@ +--- a/gcc/Makefile.in ++++ b/gcc/Makefile.in +@@ -4301,18 +4301,10 @@ + doc/gccint.info: $(TEXI_GCCINT_FILES) + doc/cppinternals.info: $(TEXI_CPPINT_FILES) + +-doc/%.info: %.texi +- if [ x$(BUILD_INFO) = xinfo ]; then \ +- $(MAKEINFO) $(MAKEINFOFLAGS) -I . -I $(gcc_docdir) \ +- -I $(gcc_docdir)/include -o $@ $<; \ +- fi ++doc/%.info: + + # Duplicate entry to handle renaming of gccinstall.info +-doc/gccinstall.info: $(TEXI_GCCINSTALL_FILES) +- if [ x$(BUILD_INFO) = xinfo ]; then \ +- $(MAKEINFO) $(MAKEINFOFLAGS) -I $(gcc_docdir) \ +- -I $(gcc_docdir)/include -o $@ $<; \ +- fi ++doc/gccinstall.info: + + doc/cpp.dvi: $(TEXI_CPP_FILES) + doc/gcc.dvi: $(TEXI_GCC_FILES) -- cgit v1.2.3