From patchwork Tue Sep 8 13:22:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vicente Olivert Riera X-Patchwork-Id: 515401 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id B2776140307 for ; Tue, 8 Sep 2015 23:23:01 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 08A69927A8; Tue, 8 Sep 2015 13:23:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q95yiPK6jOXI; Tue, 8 Sep 2015 13:23:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id D955C927AA; Tue, 8 Sep 2015 13:22:59 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id EA9D01C15EF for ; Tue, 8 Sep 2015 13:22:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id E6593338C5 for ; Tue, 8 Sep 2015 13:22:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ni56FFWKaxAz for ; Tue, 8 Sep 2015 13:22:58 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailapp01.imgtec.com (mailapp01.imgtec.com [195.59.15.196]) by silver.osuosl.org (Postfix) with ESMTP id E3259338B9 for ; Tue, 8 Sep 2015 13:22:57 +0000 (UTC) Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id C9E21ED3269E0 for ; Tue, 8 Sep 2015 14:22:53 +0100 (IST) Received: from LEMAIL01.le.imgtec.org (192.168.152.62) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 8 Sep 2015 14:22:56 +0100 Received: from localhost.localdomain (192.168.154.34) by LEMAIL01.le.imgtec.org (192.168.152.62) with Microsoft SMTP Server (TLS) id 14.3.210.2; Tue, 8 Sep 2015 14:22:55 +0100 From: Vicente Olivert Riera To: Date: Tue, 8 Sep 2015 14:22:45 +0100 Message-ID: <1441718565-24492-1-git-send-email-Vincent.Riera@imgtec.com> X-Mailer: git-send-email 1.7.1 MIME-Version: 1.0 X-Originating-IP: [192.168.154.34] Subject: [Buildroot] [PATCH] gdb: prevent building the documentation X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" gdb needs makeinfo to build the documentation. Since we do not provide a host-makeinfo package this will fail in any system where makeinfo is missing. However, we can workaround this problem by preventing gdb to build the documentation. Fixes: http://autobuild.buildroot.net/results/dd5/dd50ed99abb2c8495def826866b184030953f90e/ Signed-off-by: Vicente Olivert Riera Acked-by: Arnout Vandecappelle (Essensium/Mind) --- package/gdb/gdb.mk | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk index 338de20..7a8f8c7 100644 --- a/package/gdb/gdb.mk +++ b/package/gdb/gdb.mk @@ -114,6 +114,12 @@ else GDB_CONF_OPTS += --without-zlib endif +# Prevent gdb to build the documentation +define GDB_DISABLE_DOC +$(SED) '/^SUBDIRS =/ s/doc//' $(@D)/gdb/Makefile.in +endef +GDB_PRE_CONFIGURE_HOOKS += GDB_DISABLE_DOC + # This removes some unneeded Python scripts and XML target description # files that are not useful for a normal usage of the debugger. define GDB_REMOVE_UNNEEDED_FILES