Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Crosstool-NG fix
@ 2013-03-24 22:29 Thomas Petazzoni
  2013-03-24 22:29 ` [Buildroot] [PATCH 1/2] texinfo: new host package Thomas Petazzoni
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2013-03-24 22:29 UTC (permalink / raw)
  To: buildroot

Hello,

Two patches to fix build issues like
http://autobuild.buildroot.org/results/47adf2281a764bebc96c10ba3a7ce102f5cf83ec/build-end.log.

Thomas

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 1/2] texinfo: new host package
  2013-03-24 22:29 [Buildroot] Crosstool-NG fix Thomas Petazzoni
@ 2013-03-24 22:29 ` Thomas Petazzoni
  2013-03-24 22:43   ` Vivien Didelot
  2013-03-24 22:29 ` [Buildroot] [PATCH 2/2] crosstool-ng: add missing dependencies Thomas Petazzoni
  2013-03-24 22:32 ` [Buildroot] Crosstool-NG fix Peter Korsgaard
  2 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2013-03-24 22:29 UTC (permalink / raw)
  To: buildroot

The makeinfo program from texinfo is needed to get Crosstool-NG to
build properly a toolchain. Long term, it would be great if
Crosstool-NG supported building without texinfo, simply by disabling
the build of documentation.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/texinfo/texinfo.mk |   14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 package/texinfo/texinfo.mk

diff --git a/package/texinfo/texinfo.mk b/package/texinfo/texinfo.mk
new file mode 100644
index 0000000..54d18b6
--- /dev/null
+++ b/package/texinfo/texinfo.mk
@@ -0,0 +1,14 @@
+#############################################################
+#
+# texinfo
+#
+#############################################################
+
+# We are intentionally not using the latest version 5.x, because it
+# causes issues with the documentation building process when creating
+# a toolchain with the Crosstool-NG backend.
+
+TEXINFO_VERSION = 4.13a
+TEXINFO_SITE = $(BR2_GNU_MIRROR)/texinfo
+
+$(eval $(host-autotools-package))
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 2/2] crosstool-ng: add missing dependencies
  2013-03-24 22:29 [Buildroot] Crosstool-NG fix Thomas Petazzoni
  2013-03-24 22:29 ` [Buildroot] [PATCH 1/2] texinfo: new host package Thomas Petazzoni
@ 2013-03-24 22:29 ` Thomas Petazzoni
  2013-03-24 22:32 ` [Buildroot] Crosstool-NG fix Peter Korsgaard
  2 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2013-03-24 22:29 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/crosstool-ng/crosstool-ng.mk |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/package/crosstool-ng/crosstool-ng.mk b/package/crosstool-ng/crosstool-ng.mk
index 3b207a2..2d93f90 100644
--- a/package/crosstool-ng/crosstool-ng.mk
+++ b/package/crosstool-ng/crosstool-ng.mk
@@ -3,6 +3,10 @@ CROSSTOOL_NG_SOURCE            = crosstool-ng-$(CROSSTOOL_NG_VERSION).tar.bz2
 CROSSTOOL_NG_SITE              = http://crosstool-ng.org/download/crosstool-ng/
 CROSSTOOL_NG_INSTALL_TARGET    = NO
 CROSSTOOL_NG_MAKE              = $(MAKE1)
-HOST_CROSSTOOL_NG_DEPENDENCIES = $(if $(BR2_CCACHE),host-ccache) host-gawk host-automake host-gperf
+
+HOST_CROSSTOOL_NG_DEPENDENCIES = \
+	$(if $(BR2_CCACHE),host-ccache) host-gawk \
+	host-automake host-gperf host-bison host-flex \
+	host-texinfo
 
 $(eval $(host-autotools-package))
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] Crosstool-NG fix
  2013-03-24 22:29 [Buildroot] Crosstool-NG fix Thomas Petazzoni
  2013-03-24 22:29 ` [Buildroot] [PATCH 1/2] texinfo: new host package Thomas Petazzoni
  2013-03-24 22:29 ` [Buildroot] [PATCH 2/2] crosstool-ng: add missing dependencies Thomas Petazzoni
@ 2013-03-24 22:32 ` Peter Korsgaard
  2 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2013-03-24 22:32 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> Hello,
 Thomas> Two patches to fix build issues like
 Thomas> http://autobuild.buildroot.org/results/47adf2281a764bebc96c10ba3a7ce102f5cf83ec/build-end.log.

Committed both, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 1/2] texinfo: new host package
  2013-03-24 22:29 ` [Buildroot] [PATCH 1/2] texinfo: new host package Thomas Petazzoni
@ 2013-03-24 22:43   ` Vivien Didelot
  2013-03-24 23:00     ` Thomas Petazzoni
  0 siblings, 1 reply; 6+ messages in thread
From: Vivien Didelot @ 2013-03-24 22:43 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

> The makeinfo program from texinfo is needed to get Crosstool-NG to
> build properly a toolchain. Long term, it would be great if
> Crosstool-NG supported building without texinfo, simply by disabling
> the build of documentation.

Just curious, isn't possible for the Crosstool-NG build to disable the
doc, with something like Gustavo did here for GCC:

http://git.buildroot.net/buildroot/commit/?id=62322acb2ce186d544ab21fe253ccc8561a68a48

Cheers,
Vivien

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [PATCH 1/2] texinfo: new host package
  2013-03-24 22:43   ` Vivien Didelot
@ 2013-03-24 23:00     ` Thomas Petazzoni
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2013-03-24 23:00 UTC (permalink / raw)
  To: buildroot

Dear Vivien Didelot,

On Sun, 24 Mar 2013 18:43:32 -0400 (EDT), Vivien Didelot wrote:

> Just curious, isn't possible for the Crosstool-NG build to disable the
> doc, with something like Gustavo did here for GCC:
> 
> http://git.buildroot.net/buildroot/commit/?id=62322acb2ce186d544ab21fe253ccc8561a68a48

Yes, it should be possible. Normally, we enabled the "Remove
documentation" option from Crosstool-NG, which should tell Crosstool-NG
to not build the documentation. But in practice, Crosstool-NG
configure script still wants a makeinfo program. Even if you fake it by
passing /bin/true as the makeinfo program, then the build process of
binutils fails during the construction of its info pages. So it looks
like Crosstool-NG does not disable entirely the generation of
documentation, or something else is going one.

Introducing this texinfo package is only a short-term solution, until
the proper way of disabling the documentation generation in
Crosstool-NG is found.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-03-24 23:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-24 22:29 [Buildroot] Crosstool-NG fix Thomas Petazzoni
2013-03-24 22:29 ` [Buildroot] [PATCH 1/2] texinfo: new host package Thomas Petazzoni
2013-03-24 22:43   ` Vivien Didelot
2013-03-24 23:00     ` Thomas Petazzoni
2013-03-24 22:29 ` [Buildroot] [PATCH 2/2] crosstool-ng: add missing dependencies Thomas Petazzoni
2013-03-24 22:32 ` [Buildroot] Crosstool-NG fix Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox