Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] gdb: prevent building the documentation
Date: Wed, 9 Sep 2015 11:51:01 +0100	[thread overview]
Message-ID: <55F00F15.3080009@imgtec.com> (raw)
In-Reply-To: <55F00E88.8020208@mind.be>

Dear Arnout Vandecappelle,

On 09/09/2015 11:48 AM, Arnout Vandecappelle wrote:
> On 08-09-15 15:22, Vicente Olivert Riera wrote:
>> 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/
> 
>  Thomas prefers this solution and I agree.
> 
>  However, there is one thing missing in this patch: removing the now-redundant
> dependency on host-texinfo.
> 
>  Still, that can be done as a follow-up patch, so:

nah..., I will send a v2. Note the sed command is not indented ;-)

Regards,

Vincent.

> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> 
> 
>  Regards,
>  Arnout
> 
>>
>> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
>> ---
>>  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
>>
> 
> 

  reply	other threads:[~2015-09-09 10:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-08 13:22 [Buildroot] [PATCH] gdb: prevent building the documentation Vicente Olivert Riera
2015-09-08 13:39 ` Arnout Vandecappelle
2015-09-08 13:49   ` Brendan Heading
2015-09-08 13:53     ` Brendan Heading
2015-09-08 13:55       ` Vicente Olivert Riera
2015-09-09 10:48 ` Arnout Vandecappelle
2015-09-09 10:51   ` Vicente Olivert Riera [this message]
2015-09-09 10:53     ` Brendan Heading

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55F00F15.3080009@imgtec.com \
    --to=vincent.riera@imgtec.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox