* [Buildroot] [PATCH v2 1/1] package/host-gdb: host-texinfo needed for full gdb
@ 2015-09-08 15:57 Brendan Heading
2015-09-08 16:00 ` Arnout Vandecappelle
2015-09-08 16:02 ` Vicente Olivert Riera
0 siblings, 2 replies; 3+ messages in thread
From: Brendan Heading @ 2015-09-08 15:57 UTC (permalink / raw)
To: buildroot
Fixes :
http://autobuild.buildroot.net/results/dd5/dd50ed99abb2c8495def826866b184030953f90e/
.. and many others.
when building the full gdb (ie not just gdbserver) on the host or target
the "make install" phase seems to expect makeinfo (from texinfo) to be
present.
Added a dependency so that the host always depends on host-texinfo, and
the target depends on it if the full GDB is being built. No need to set
ac_cv_prog_MAKEINFO anymore as it doesn't seem to achieve the desired
effect.
Signed-off-by: Brendan Heading <brendanheading@gmail.com>
---
v1 -> v2: fixed for target, removed duplication in gdb.mk. Used better
subject suggested by Vicente.
---
package/gdb/gdb.mk | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
index 338de20..d144d6b 100644
--- a/package/gdb/gdb.mk
+++ b/package/gdb/gdb.mk
@@ -33,7 +33,8 @@ ifeq ($(BR2_PACKAGE_GDB_DEBUGGER),)
GDB_SUBDIR = gdb/gdbserver
HOST_GDB_SUBDIR = .
else
-GDB_DEPENDENCIES = ncurses \
+# need makeinfo if building the full debugger
+GDB_DEPENDENCIES = ncurses host-texinfo \
$(if $(BR2_PACKAGE_LIBICONV),libiconv)
endif
@@ -165,14 +166,8 @@ else
HOST_GDB_CONF_OPTS += --without-python
endif
-ifeq ($(GDB_FROM_GIT),y)
-GDB_DEPENDENCIES += host-texinfo
+#since we always build the full GDB on the host, texinfo/makeinfo is required
HOST_GDB_DEPENDENCIES += host-texinfo
-else
-# don't generate documentation
-GDB_CONF_ENV += ac_cv_prog_MAKEINFO=missing
-HOST_GDB_CONF_ENV += ac_cv_prog_MAKEINFO=missing
-endif
# legacy $arch-linux-gdb symlink
define HOST_GDB_ADD_SYMLINK
--
2.4.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v2 1/1] package/host-gdb: host-texinfo needed for full gdb
2015-09-08 15:57 [Buildroot] [PATCH v2 1/1] package/host-gdb: host-texinfo needed for full gdb Brendan Heading
@ 2015-09-08 16:00 ` Arnout Vandecappelle
2015-09-08 16:02 ` Vicente Olivert Riera
1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2015-09-08 16:00 UTC (permalink / raw)
To: buildroot
On 08-09-15 17:57, Brendan Heading wrote:
> Fixes :
> http://autobuild.buildroot.net/results/dd5/dd50ed99abb2c8495def826866b184030953f90e/
>
> .. and many others.
>
> when building the full gdb (ie not just gdbserver) on the host or target
> the "make install" phase seems to expect makeinfo (from texinfo) to be
> present.
>
> Added a dependency so that the host always depends on host-texinfo, and
> the target depends on it if the full GDB is being built. No need to set
> ac_cv_prog_MAKEINFO anymore as it doesn't seem to achieve the desired
> effect.
>
> Signed-off-by: Brendan Heading <brendanheading@gmail.com>
> ---
> v1 -> v2: fixed for target, removed duplication in gdb.mk. Used better
> subject suggested by Vicente.
> ---
> package/gdb/gdb.mk | 11 +++--------
> 1 file changed, 3 insertions(+), 8 deletions(-)
>
> diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
> index 338de20..d144d6b 100644
> --- a/package/gdb/gdb.mk
> +++ b/package/gdb/gdb.mk
> @@ -33,7 +33,8 @@ ifeq ($(BR2_PACKAGE_GDB_DEBUGGER),)
> GDB_SUBDIR = gdb/gdbserver
> HOST_GDB_SUBDIR = .
> else
> -GDB_DEPENDENCIES = ncurses \
> +# need makeinfo if building the full debugger
> +GDB_DEPENDENCIES = ncurses host-texinfo \
> $(if $(BR2_PACKAGE_LIBICONV),libiconv)
> endif
>
> @@ -165,14 +166,8 @@ else
> HOST_GDB_CONF_OPTS += --without-python
> endif
>
> -ifeq ($(GDB_FROM_GIT),y)
> -GDB_DEPENDENCIES += host-texinfo
> +#since we always build the full GDB on the host, texinfo/makeinfo is required
Minor nit: missing space between # and since
Regards,
Arnout
> HOST_GDB_DEPENDENCIES += host-texinfo
> -else
> -# don't generate documentation
> -GDB_CONF_ENV += ac_cv_prog_MAKEINFO=missing
> -HOST_GDB_CONF_ENV += ac_cv_prog_MAKEINFO=missing
> -endif
>
> # legacy $arch-linux-gdb symlink
> define HOST_GDB_ADD_SYMLINK
>
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH v2 1/1] package/host-gdb: host-texinfo needed for full gdb
2015-09-08 15:57 [Buildroot] [PATCH v2 1/1] package/host-gdb: host-texinfo needed for full gdb Brendan Heading
2015-09-08 16:00 ` Arnout Vandecappelle
@ 2015-09-08 16:02 ` Vicente Olivert Riera
1 sibling, 0 replies; 3+ messages in thread
From: Vicente Olivert Riera @ 2015-09-08 16:02 UTC (permalink / raw)
To: buildroot
Dear Brendan Heading,
On 09/08/2015 04:57 PM, Brendan Heading wrote:
> Fixes :
> http://autobuild.buildroot.net/results/dd5/dd50ed99abb2c8495def826866b184030953f90e/
>
> .. and many others.
>
> when building the full gdb (ie not just gdbserver) on the host or target
then don't use "package/host-gdb" in the subject since both of them are
affected.
Regards,
Vincent.
> the "make install" phase seems to expect makeinfo (from texinfo) to be
> present.
>
> Added a dependency so that the host always depends on host-texinfo, and
> the target depends on it if the full GDB is being built. No need to set
> ac_cv_prog_MAKEINFO anymore as it doesn't seem to achieve the desired
> effect.
>
> Signed-off-by: Brendan Heading <brendanheading@gmail.com>
> ---
> v1 -> v2: fixed for target, removed duplication in gdb.mk. Used better
> subject suggested by Vicente.
> ---
> package/gdb/gdb.mk | 11 +++--------
> 1 file changed, 3 insertions(+), 8 deletions(-)
>
> diff --git a/package/gdb/gdb.mk b/package/gdb/gdb.mk
> index 338de20..d144d6b 100644
> --- a/package/gdb/gdb.mk
> +++ b/package/gdb/gdb.mk
> @@ -33,7 +33,8 @@ ifeq ($(BR2_PACKAGE_GDB_DEBUGGER),)
> GDB_SUBDIR = gdb/gdbserver
> HOST_GDB_SUBDIR = .
> else
> -GDB_DEPENDENCIES = ncurses \
> +# need makeinfo if building the full debugger
> +GDB_DEPENDENCIES = ncurses host-texinfo \
> $(if $(BR2_PACKAGE_LIBICONV),libiconv)
> endif
>
> @@ -165,14 +166,8 @@ else
> HOST_GDB_CONF_OPTS += --without-python
> endif
>
> -ifeq ($(GDB_FROM_GIT),y)
> -GDB_DEPENDENCIES += host-texinfo
> +#since we always build the full GDB on the host, texinfo/makeinfo is required
> HOST_GDB_DEPENDENCIES += host-texinfo
> -else
> -# don't generate documentation
> -GDB_CONF_ENV += ac_cv_prog_MAKEINFO=missing
> -HOST_GDB_CONF_ENV += ac_cv_prog_MAKEINFO=missing
> -endif
>
> # legacy $arch-linux-gdb symlink
> define HOST_GDB_ADD_SYMLINK
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-09-08 16:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-08 15:57 [Buildroot] [PATCH v2 1/1] package/host-gdb: host-texinfo needed for full gdb Brendan Heading
2015-09-08 16:00 ` Arnout Vandecappelle
2015-09-08 16:02 ` Vicente Olivert Riera
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox