From: "Andreas Bießmann" <andreas@biessmann.de>
To: PTXdist ML <ptxdist@pengutronix.de>
Cc: OSELAS ML <oselas@community.pengutronix.de>
Subject: [ptxdist] [PATCH v2] glibc-headers: require host-autotools-autoconf
Date: Sun, 11 Mar 2012 22:34:20 +0100 [thread overview]
Message-ID: <1331501660-48422-1-git-send-email-andreas@biessmann.de> (raw)
In-Reply-To: <1331404409-81095-1-git-send-email-andreas@biessmann.de>
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
prev parent reply other threads:[~2012-03-11 21:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-10 18:33 [ptxdist] [PATCH] " Andreas Bießmann
2012-03-11 21:34 ` Andreas Bießmann [this message]
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=1331501660-48422-1-git-send-email-andreas@biessmann.de \
--to=andreas@biessmann.de \
--cc=oselas@community.pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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