From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Porcedda Date: Wed, 24 Apr 2013 12:08:56 +0200 Subject: [Buildroot] [RFC 2/4] package: fix generic configure for top-level parallel make In-Reply-To: <1366798138-30722-1-git-send-email-fabio.porcedda@gmail.com> References: <1366798138-30722-1-git-send-email-fabio.porcedda@gmail.com> Message-ID: <1366798138-30722-3-git-send-email-fabio.porcedda@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Signed-off-by: Fabio Porcedda --- package/pkg-generic.mk | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index 2460384..455d0ef 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -386,6 +386,8 @@ $(1)-install-host: $(1)-build $$($(2)_TARGET_INSTALL_HOST) $(1)-build: $(1)-configure \ $$($(2)_TARGET_BUILD) +$$($(2)_TARGET_CONFIGURE): $(1)-depends +$(1)-configure: $$($(2)_TARGET_CONFIGURE) ifeq ($$($(2)_OVERRIDE_SRCDIR),) # In the normal case (no package override), the sequence of steps is # source, by downloading @@ -393,8 +395,7 @@ ifeq ($$($(2)_OVERRIDE_SRCDIR),) # extract # patch # configure -$(1)-configure: $(1)-patch $(1)-depends \ - $$($(2)_TARGET_CONFIGURE) +$$($(2)_TARGET_CONFIGURE): $(1)-patch $(1)-patch: $(1)-extract $$($(2)_TARGET_PATCH) @@ -409,9 +410,6 @@ else # source, by rsyncing # depends # configure -$(1)-configure: $(1)-depends \ - $$($(2)_TARGET_CONFIGURE) - $(1)-depends: $(1)-rsync $$($(2)_DEPENDENCIES) $(1)-patch: $(1)-rsync -- 1.8.1.4