mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] glibc-headers: require host-autotools-autoconf
@ 2012-03-10 18:33 Andreas Bießmann
  2012-03-11 21:34 ` [ptxdist] [PATCH v2] " Andreas Bießmann
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Bießmann @ 2012-03-10 18:33 UTC (permalink / raw)
  To: PTXdist ML; +Cc: OSELAS ML

commit 2318b45203e5d173afff04c9c4884e93602ad586 uses autoconf to
re-generate parts of glibc's configure system. But that commit failed to
require host-tool autoconf.
This patch adds host-autotools-autoconf to the glibc-headers as
requirement.

Signed-off-by: Andreas Bießmann <andreas@biessmann.de>
---
 Kconfig        |    1 +
 rules/glibc.in |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Kconfig b/Kconfig
index 7e5aeb6..36c7b8c 100644
--- a/Kconfig
+++ b/Kconfig
@@ -73,6 +73,7 @@ source "workspace/rules/host-mpc.in"
 source "workspace/rules/host-mpfr.in"
 source "workspace/rules/host-zlib.in"
 source "workspace/rules/host-libelf.in"
+source "workspace/rules/host-autotools-autoconf.in"
 
 comment "----------------------------------"
 
diff --git a/rules/glibc.in b/rules/glibc.in
index fe876ac..56dbad9 100644
--- a/rules/glibc.in
+++ b/rules/glibc.in
@@ -4,6 +4,7 @@ config GLIBC_HEADERS
 	bool
 	select KERNEL_HEADERS
 	select CROSS_BINUTILS
+	select HOST_AUTOTOOLS_AUTOCONF
 
 config GLIBC_CRT
 	bool
-- 
1.7.5.4


-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] [PATCH v2] glibc-headers: require host-autotools-autoconf
  2012-03-10 18:33 [ptxdist] [PATCH] glibc-headers: require host-autotools-autoconf Andreas Bießmann
@ 2012-03-11 21:34 ` Andreas Bießmann
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Bießmann @ 2012-03-11 21:34 UTC (permalink / raw)
  To: PTXdist ML; +Cc: OSELAS ML

commit 2318b45203e5d173afff04c9c4884e93602ad586 uses autoconf to
re-generate parts of glibc's configure system. But that commit failed to
require host-tool autoconf.
This patch adds host-autotools-autoconf to the glibc-headers
requirement.

Signed-off-by: Andreas Bießmann <andreas@biessmann.de>
---
since v1:
 * add missing rules/host-autotools-autoconf.{in,make}

 Kconfig                            |    1 +
 rules/glibc.in                     |    1 +
 rules/host-autotools-autoconf.in   |    5 ++++
 rules/host-autotools-autoconf.make |   47 ++++++++++++++++++++++++++++++++++++
 4 files changed, 54 insertions(+), 0 deletions(-)
 create mode 100644 rules/host-autotools-autoconf.in
 create mode 100644 rules/host-autotools-autoconf.make

diff --git a/Kconfig b/Kconfig
index 7e5aeb6..36c7b8c 100644
--- a/Kconfig
+++ b/Kconfig
@@ -73,6 +73,7 @@ source "workspace/rules/host-mpc.in"
 source "workspace/rules/host-mpfr.in"
 source "workspace/rules/host-zlib.in"
 source "workspace/rules/host-libelf.in"
+source "workspace/rules/host-autotools-autoconf.in"
 
 comment "----------------------------------"
 
diff --git a/rules/glibc.in b/rules/glibc.in
index fe876ac..56dbad9 100644
--- a/rules/glibc.in
+++ b/rules/glibc.in
@@ -4,6 +4,7 @@ config GLIBC_HEADERS
 	bool
 	select KERNEL_HEADERS
 	select CROSS_BINUTILS
+	select HOST_AUTOTOOLS_AUTOCONF
 
 config GLIBC_CRT
 	bool
diff --git a/rules/host-autotools-autoconf.in b/rules/host-autotools-autoconf.in
new file mode 100644
index 0000000..cea2ea4
--- /dev/null
+++ b/rules/host-autotools-autoconf.in
@@ -0,0 +1,5 @@
+## SECTION=hosttools_noprompt
+
+config HOST_AUTOTOOLS_AUTOCONF
+	bool
+	default y
diff --git a/rules/host-autotools-autoconf.make b/rules/host-autotools-autoconf.make
new file mode 100644
index 0000000..a0c365c
--- /dev/null
+++ b/rules/host-autotools-autoconf.make
@@ -0,0 +1,47 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2009 by Marc Kleine-Budde <mkl@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+LAZY_PACKAGES-$(PTXCONF_HOST_AUTOTOOLS_AUTOCONF) += host-autotools-autoconf
+
+#
+# Paths and names
+#
+HOST_AUTOTOOLS_AUTOCONF_VERSION	:= 2.68
+HOST_AUTOTOOLS_AUTOCONF_MD5	:= 864d785215aa60d627c91fcb21b05b07
+HOST_AUTOTOOLS_AUTOCONF		:= autoconf-$(HOST_AUTOTOOLS_AUTOCONF_VERSION)
+HOST_AUTOTOOLS_AUTOCONF_SUFFIX	:= tar.bz2
+HOST_AUTOTOOLS_AUTOCONF_URL	:= $(call ptx/mirror, GNU, autoconf/$(HOST_AUTOTOOLS_AUTOCONF).$(HOST_AUTOTOOLS_AUTOCONF_SUFFIX))
+HOST_AUTOTOOLS_AUTOCONF_SOURCE	:= $(SRCDIR)/$(HOST_AUTOTOOLS_AUTOCONF).$(HOST_AUTOTOOLS_AUTOCONF_SUFFIX)
+HOST_AUTOTOOLS_AUTOCONF_DIR	:= $(HOST_BUILDDIR)/$(HOST_AUTOTOOLS_AUTOCONF)
+HOST_AUTOTOOLS_AUTOCONF_DEVPKG	:= NO
+
+$(STATEDIR)/autogen-tools: $(STATEDIR)/host-autotools-autoconf.install.post
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+$(HOST_AUTOTOOLS_AUTOCONF_SOURCE):
+	@$(call targetinfo)
+	@$(call get, HOST_AUTOTOOLS_AUTOCONF)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_AUTOTOOLS_AUTOCONF_CONF_TOOL	:= autoconf
+
+# vim: syntax=make
-- 
1.7.5.4


-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2012-03-11 21:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-10 18:33 [ptxdist] [PATCH] glibc-headers: require host-autotools-autoconf Andreas Bießmann
2012-03-11 21:34 ` [ptxdist] [PATCH v2] " Andreas Bießmann

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