From 5a37d0601a5431e5c6c721d1ed39a80568b54679 Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jo@mein.io>
Date: Fri, 4 Nov 2016 16:12:51 +0100
Subject: [PATCH] sdk: depend on linux/install

Since commit 484cb91 "sdk: bundle required firmware files" there is an
implicit dependency of the SDK on a prior Kernel compilation.

Change target/Makefile to make this dependency explicit to avoid race
conditions with parallel builds.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
---
 target/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/Makefile b/target/Makefile
index cb68454c91..db87c78aae 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -10,6 +10,7 @@ $(curdir)/builddirs:=linux sdk imagebuilder toolchain
 $(curdir)/builddirs-default:=linux
 $(curdir)/builddirs-install:=linux $(if $(CONFIG_SDK),sdk) $(if $(CONFIG_IB),imagebuilder) $(if $(CONFIG_MAKE_TOOLCHAIN),toolchain)
 
+$(curdir)/sdk/install:=$(curdir)/linux/install
 $(curdir)/imagebuilder/install:=$(curdir)/linux/install
 
 $(eval $(call stampfile,$(curdir),target,prereq,.config))
-- 
GitLab