Patchwork [v11,4/8] uclibc: add support for top-level parallel make

login
register
mail settings
Submitter Fabio Porcedda
Date Jan. 10, 2014, 10:06 a.m.
Message ID <1389348368-2509-5-git-send-email-fabio.porcedda@gmail.com>
Download mbox | patch
Permalink /patch/309231/
State Superseded
Headers show

Comments

Fabio Porcedda - Jan. 10, 2014, 10:06 a.m.
To be able to use top-level parallel make we must not depend in a rule
on the order of evaluation of the prerequisites, so instead of relyng
on the left to right ordering of evaluation of the prerequisites add
an explicit rule to describe the dependencies.

The uclibc-install-target depends on uclibc-install-staging so add a
rule for it.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/uclibc/uclibc.mk | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk
index 902c0a2..e26fb0f 100644
--- a/package/uclibc/uclibc.mk
+++ b/package/uclibc/uclibc.mk
@@ -554,3 +554,6 @@  $(eval $(generic-package))
 
 # Before uClibc is built, we must have the second stage cross-compiler
 $(UCLIBC_TARGET_BUILD): | host-gcc-intermediate
+
+# The uclibc-install-target use files from uclibc-install-staging
+$(UCLIBC_TARGET_INSTALL_TARGET): $(UCLIBC_TARGET_INSTALL_STAGING)