kumquat-buildroot/toolchain/toolchain-external
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-external-codescape-img-mips
toolchain-external-codescape-mti-mips
toolchain-external-codesourcery-aarch64
toolchain-external-codesourcery-amd64
toolchain-external-codesourcery-arm
toolchain-external-codesourcery-mips
toolchain-external-codesourcery-niosII
toolchain-external-custom toolchain: add 4.13.x choice for headers 2017-09-07 21:06:03 +02:00
toolchain-external-linaro-aarch64 toolchain-external: bump version of Linaro AArch64 toolchain to 2017.08 2017-09-27 21:39:12 +02:00
toolchain-external-linaro-arm toolchain-external: bump version of Linaro ARM toolchain to 2017.08 2017-09-27 21:36:55 +02:00
toolchain-external-linaro-armeb toolchain-external: bump version of Linaro ARMeb toolchain to 2017.08 2017-09-27 21:39:05 +02:00
toolchain-external-synopsys-arc
Config.in
pkg-toolchain-external.mk core/pkg-toolchain-external: quiesce spurious stderr 2017-08-19 15:06:45 +02:00
toolchain-external.mk Fix makefile include order by using sort/wildcard. 2017-11-24 00:08:23 +01:00