]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
dependencies.mk: check for valid host-tar before other host dependencies
authorPeter Korsgaard <peter@korsgaard.com>
Tue, 27 Feb 2018 08:55:40 +0000 (09:55 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 27 Feb 2018 16:01:47 +0000 (17:01 +0100)
commit7c09cb82b75f30eba7a9daaae5e77a604f6e49c1
tree6845dc81858582e1c6672cc55d3c62fdb9e70f17
parente0eec7a4f752364b5ca2580979f28435be0a41a2
dependencies.mk: check for valid host-tar before other host dependencies

host-{cmake,lzip,xz} needs host-tar to extract their source code tarball, so
we need to ensure that host-tar gets added to DEPENDENCIES_HOST_PREREQ
before these in case they are both needed, otherwise the tools will fail to
extract.

With the upcoming change to blacklist modern tar versions this situation is
likely to trigger more often.

The real solution to this issue is the <foo>_EXTRACT_DEPENDENCIES rework,
but that series is a bit too intrusive to add this close to 2018.02, so
therefore this hack.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
support/dependencies/dependencies.mk