kumquat-buildroot/toolchain
Peter Seiderer b9d2d4cb4e Fix makefile include order by using sort/wildcard.
The 'include' directive in GNU make supports wildcards, but their
expansion has no defined sort order (GLOB_NOSORT is passed to glob()).
Usually this doesn't matter. However, there is at least one case where
it does make a difference: toolchain/*/*.mk includes both the
definitions of the external toolchain packages and
pkg-toolchain-external.mk, but pkg-toolchain-external.mk must be
included first.

For predictability, use ordered 'include $(sort $(wildcard ...))'
instead of unordered direct 'include */*.mk' everywhere.

Fixes [1] reported by Petr Vorel:

  make: *** No rule to make target 'toolchain-external-custom', needed by '.../build/toolchain-external/.stamp_configured'.  Stop.

[1] http://lists.busybox.net/pipermail/buildroot/2017-November/206969.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Tested-by: Petr Vorel <petr.vorel@gmail.com>
[Arnout: also sort the one remaining include, of the external docs]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2017-11-24 00:08:23 +01:00
..
toolchain pkg-cmake: move configuration files out of $(HOST_DIR)/usr 2017-07-05 11:50:14 +02:00
toolchain-buildroot toolchain: add glibc support for ARCv2 2017-10-10 23:13:34 +02:00
toolchain-external Fix makefile include order by using sort/wildcard. 2017-11-24 00:08:23 +01:00
Config.in arch/bfin: internal backend not suitable for some cores 2017-10-02 21:41:53 +02:00
helpers.mk toolchain: detect external glibc in merged /usr 2017-09-19 22:43:10 +02:00
toolchain-common.in toolchain: add 4.13.x choice for headers 2017-09-07 21:06:03 +02:00
toolchain-wrapper.c toolchain/wrapper: fake __DATE_ and __TIME__ for older gcc 2017-10-22 16:10:37 +02:00
toolchain-wrapper.mk Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/bin 2017-07-05 15:19:29 +02:00
toolchain.mk toolchain: use the <PKG>_TARGET_FINALIZE_HOOKS 2016-07-18 23:30:46 +02:00