Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: llandwerlin at gmail.com <llandwerlin@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 05/12] package: move autoreconfigure step to pre configure hook
Date: Thu,  4 Nov 2010 03:50:24 +0100	[thread overview]
Message-ID: <1288839031-24277-6-git-send-email-llandwerlin@gmail.com> (raw)
In-Reply-To: <1288839031-24277-1-git-send-email-llandwerlin@gmail.com>

From: Lionel Landwerlin <llandwerlin@gmail.com>

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
---
 package/Makefile.autotools.in |    2 +-
 package/Makefile.package.in   |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in
index 4a992d9..178e34c 100644
--- a/package/Makefile.autotools.in
+++ b/package/Makefile.autotools.in
@@ -194,7 +194,7 @@ define AUTORECONF_HOOK
 endef
 
 ifeq ($$($(2)_AUTORECONF),YES)
-$(2)_POST_PATCH_HOOKS += AUTORECONF_HOOK
+$(2)_PRE_CONFIGURE_HOOKS += AUTORECONF_HOOK
 $(2)_DEPENDENCIES += host-automake host-autoconf host-libtool
 endif
 
diff --git a/package/Makefile.package.in b/package/Makefile.package.in
index 377df65..816a013 100644
--- a/package/Makefile.package.in
+++ b/package/Makefile.package.in
@@ -261,6 +261,7 @@ $(BUILD_DIR)/%/.stamp_patched:
 
 # Configure
 $(BUILD_DIR)/%/.stamp_configured:
+	$(foreach hook,$($(PKG)_PRE_CONFIGURE_HOOKS),$(call $(hook))$(sep))
 	@$(call MESSAGE,"Configuring")
 	$($(PKG)_CONFIGURE_CMDS)
 	$(foreach hook,$($(PKG)_POST_CONFIGURE_HOOKS),$(call $(hook))$(sep))
@@ -410,6 +411,7 @@ $(2)_TARGET_DIRCLEAN =		$$($(2)_DIR)/.stamp_dircleaned
 # post-steps hooks
 $(2)_POST_EXTRACT_HOOKS         ?=
 $(2)_POST_PATCH_HOOKS           ?=
+$(2)_PRE_CONFIGURE_HOOKS        ?=
 $(2)_POST_CONFIGURE_HOOKS       ?=
 $(2)_POST_BUILD_HOOKS           ?=
 $(2)_POST_INSTALL_HOOKS         ?=
-- 
1.7.2.3

  parent reply	other threads:[~2010-11-04  2:50 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-04  2:50 [Buildroot] [pull request] Pull request for branch 2010.11-various-bumps llandwerlin at gmail.com
2010-11-04  2:50 ` [Buildroot] [PATCH 01/12] sh: add /dev/ttyASx console devices llandwerlin at gmail.com
2010-11-04 13:33   ` Thomas Petazzoni
2010-11-04 13:38     ` Lionel Landwerlin
2010-11-04  2:50 ` [Buildroot] [PATCH 02/12] rsync: drop special case now managed in Makefile.package.in llandwerlin at gmail.com
2010-11-04 13:38   ` Thomas Petazzoni
2010-11-04  2:50 ` [Buildroot] [PATCH 03/12] autotools: fix MESSAGE calls llandwerlin at gmail.com
2010-11-04 13:39   ` Thomas Petazzoni
2010-11-05  8:48   ` Peter Korsgaard
2010-11-04  2:50 ` [Buildroot] [PATCH 04/12] autotools: introduce $(PKG_NAME)_AUTORECONF_ENV/$(PKG_NAME)_AUTORECONF_OPT variables llandwerlin at gmail.com
2010-11-04 13:44   ` Thomas Petazzoni
2010-11-04 13:49     ` Lionel Landwerlin
2010-11-04 15:30       ` Thomas Petazzoni
2010-11-04  2:50 ` llandwerlin at gmail.com [this message]
2010-11-04 13:45   ` [Buildroot] [PATCH 05/12] package: move autoreconfigure step to pre configure hook Thomas Petazzoni
2010-11-05  9:04   ` Peter Korsgaard
2010-11-04  2:50 ` [Buildroot] [PATCH 06/12] gdk-pixbuf/libgtk2: move gdk-pixbuf loader cache setup script llandwerlin at gmail.com
2010-11-04  8:10   ` Paulius Zaleckas
2010-11-04  8:21     ` Lionel Landwerlin
2010-11-04 13:46   ` Thomas Petazzoni
2010-11-05  9:07   ` Peter Korsgaard
2010-11-04  2:50 ` [Buildroot] [PATCH 07/12] automake: bump to 1.11.1 llandwerlin at gmail.com
2010-11-04 13:48   ` Thomas Petazzoni
2010-11-05  8:49   ` Peter Korsgaard
2010-11-04  2:50 ` [Buildroot] [PATCH 08/12] sysstat: bump to 9.1.5 llandwerlin at gmail.com
2010-11-05  9:09   ` Peter Korsgaard
2010-11-04  2:50 ` [Buildroot] [PATCH 09/12] libpcap: bump to 1.1.1 llandwerlin at gmail.com
2010-11-05  8:52   ` Peter Korsgaard
2010-11-04  2:50 ` [Buildroot] [PATCH 10/12] linux-fusion: bump to 8.1.2 llandwerlin at gmail.com
2010-11-05  9:11   ` Peter Korsgaard
2010-11-04  2:50 ` [Buildroot] [PATCH 11/12] directfb: bump to 1.4.10 llandwerlin at gmail.com
2010-11-05  9:13   ` Peter Korsgaard
2010-11-05 12:52   ` Peter Korsgaard
2010-11-05 13:30     ` Lionel Landwerlin
2010-11-05 14:00       ` Peter Korsgaard
2010-11-04  2:50 ` [Buildroot] [PATCH 12/12] sawman: " llandwerlin at gmail.com
2010-11-05  9:14   ` Peter Korsgaard

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=1288839031-24277-6-git-send-email-llandwerlin@gmail.com \
    --to=llandwerlin@gmail.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