kumquat-buildroot/support
Alfredo Alvarez Fernandez 37a757038e dependencies: always use HOSTCC_NOCACHE for DEPENDENCIES_HOST_PREREQ
Currently, HOSTCC and HOSTCXX are set to their _NOCACHE variants in the
'dependencies' target. This is needed because at that time, ccache is
not built yet - host-ccache is one of the dependencies. However, because
this override is only specified for the 'dependencies' target (and
thereby gets inherited by its dependencies), the override is only
applied when the package is reached through the 'dependencies' target.
This is not the case when one of DEPENDENCIES_HOST_PREREQ is built
directly from the command line, e.g. when doing 'make host-ccache'. So
in that case, ccache will be built with ccache... which fails of
course.

To fix this, directly apply the override to the DEPENCIES_HOST_PREREQ
targets.

Note that this only fixes the issue for 'make host-ccache', NOT for
e.g. 'make host-ccache-configure'.

Signed-off-by: Alfredo Alvarez Fernandez <alfredo.alvarez_fernandez@nokia.com>
[Arnout: improve commit message]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

(cherry picked from commit 36d398ac30)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-10-25 09:33:04 +02:00
..
dependencies dependencies: always use HOSTCC_NOCACHE for DEPENDENCIES_HOST_PREREQ 2017-10-25 09:33:04 +02:00
download download/git: force gzip compression level 6 2017-09-21 15:41:26 +02:00
gnuconfig support/gnuconfig: bump version to 2016-05-15 2016-06-05 22:26:57 +02:00
kconfig support/kconfig: fix usage typo and align verb tenses 2017-10-15 22:07:47 +02:00
legal-info docs: libtool patches are not handled by legal-info infrastructure. 2016-08-19 23:16:23 +02:00
libtool support/libtool: add patch for newer versions 2014-12-21 13:21:56 +01:00
misc Update for 2017.02 2017-02-28 22:00:23 +01:00
scripts setlocalversion: fix detection of hg revision for untagged versions 2017-07-04 17:36:02 +02:00