diff mbox

[1/2] Makefile: toolchain-eclipse-register: add toolchain dependency

Message ID 1397826452-30281-1-git-send-email-fabio.porcedda@gmail.com
State Accepted
Headers show

Commit Message

Fabio Porcedda April 18, 2014, 1:07 p.m. UTC
The "toolchain-eclipse-register" target needs the toolchain so add
toolchain as a dependency.
This also fix the support to top-level parallel make.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Thomas Petazzoni April 20, 2014, 3:41 p.m. UTC | #1
Dear Fabio Porcedda,

On Fri, 18 Apr 2014 15:07:31 +0200, Fabio Porcedda wrote:
> The "toolchain-eclipse-register" target needs the toolchain so add
> toolchain as a dependency.
> This also fix the support to top-level parallel make.
> 
> Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Both patches applied.

Thomas
diff mbox

Patch

diff --git a/Makefile b/Makefile
index 42adf7c..53282ae 100644
--- a/Makefile
+++ b/Makefile
@@ -621,7 +621,7 @@  target-post-image: $(TARGETS_ROOTFS) target-finalize
 		$(call MESSAGE,"Executing post-image script $(s)"); \
 		$(EXTRA_ENV) $(s) $(BINARIES_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep))
 
-toolchain-eclipse-register:
+toolchain-eclipse-register: toolchain
 	./support/scripts/eclipse-register-toolchain `readlink -f $(O)` $(notdir $(TARGET_CROSS)) $(BR2_ARCH)
 
 source: $(TARGETS_SOURCE) $(HOST_SOURCE)