From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnout Vandecappelle Date: Wed, 9 Sep 2015 21:04:35 +0200 Subject: [Buildroot] [PATCHv3] gdb: prevent building the documentation In-Reply-To: <1441800739-14854-1-git-send-email-Vincent.Riera@imgtec.com> References: <1441800739-14854-1-git-send-email-Vincent.Riera@imgtec.com> Message-ID: <55F082C3.1030605@mind.be> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 09-09-15 14:12, Vicente Olivert Riera wrote: > Force gdb to not build the documentation. This way we avoid depending on > host-texinfo. This is a temporary fix until upstream accepts a proposed > --disable-docs configure option. > > Since the documentation will not be build at all, we can remove the > parts related to host-texinfo and MAKEINFO in the gdb.mk file. > > Fixes: > > http://autobuild.buildroot.net/results/dd5/dd50ed99abb2c8495def826866b184030953f90e/ > > Signed-off-by: Vicente Olivert Riera [snip] > +# Prevent gdb to build the documentation > +define GDB_DISABLE_DOC > + $(SED) '/^SUBDIRS =/ s/doc//' $(@D)/gdb/Makefile.in > +endef > +GDB_POST_PATCH_HOOKS += GDB_DISABLE_DOC > +HOST_GDB_POST_PATCH_HOOKS += GDB_DISABLE_DOC Sorry to be fickle, but post-patch hooks are not called in the OVERRIDE_SRCDIR case, so perhaps it's better after all to do it in pre-configure (with appropriate comment why). Or perhaps we should call post-patch hooks in .stamp-rsynced... Regards, Arnout [snip] -- Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF