Patchwork [RFC,3/4] package: fix generic build for top-level parallel make

login
register
mail settings
Submitter Fabio Porcedda
Date April 24, 2013, 10:08 a.m.
Message ID <1366798138-30722-4-git-send-email-fabio.porcedda@gmail.com>
Download mbox | patch
Permalink /patch/239132/
State Rejected
Headers show

Comments

Fabio Porcedda - April 24, 2013, 10:08 a.m.
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
---
 package/pkg-generic.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index 455d0ef..09ddd81 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -383,8 +383,8 @@  endif
 
 $(1)-install-host:      $(1)-build $$($(2)_TARGET_INSTALL_HOST)
 
-$(1)-build:		$(1)-configure \
-			$$($(2)_TARGET_BUILD)
+$$($(2)_TARGET_BUILD): $(1)-configure
+$(1)-build:		$$($(2)_TARGET_BUILD)
 
 $$($(2)_TARGET_CONFIGURE): $(1)-depends
 $(1)-configure:		$$($(2)_TARGET_CONFIGURE)