]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
dependencies: correct dependencies for top-level parallel build
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 22 Oct 2017 14:17:52 +0000 (16:17 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 8 Jan 2018 22:37:59 +0000 (23:37 +0100)
commit390780d5626f5d8613dab22928ae90051d169ab1
tree57025cda33434be3c1fa2d92b365dd84512c6fb0
parent42decc07ce3efe5ec4b5d70016daca3e712451ef
dependencies: correct dependencies for top-level parallel build

Commit 4932c8a7cc94277b3d53cecd935f725b91cfa9fe introduced the
core-dependencies target to make sure that the dependencies.sh script
runs before we attempt to compile any host tool, so that the absence of
a compiler is properly detected. However, this relied on the
left-to-right evaluation of dependencies. This will no longer be true
when we enable top-level parallel build.

Fix this by letting DEPENDENCIES_HOST_PREREQ depend on
core-dependencies.

Note that it is not possible to remove the
dependencies <- core-dependencies. Indeed, it is possible that
DEPENDENCIES_HOST_PREREQ is completely empty, and in that case we still
need to check core-dependencies.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/dependencies/dependencies.mk