kumquat-buildroot/toolchain
Peter Seiderer 1deeaefe37 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>

(cherry picked from commit b9d2d4cb4e)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-11-30 08:24:03 +01:00
..
toolchain toolchain: limit musl workaround to kernel headers 3.12+ 2017-06-01 16:01:13 +02:00
toolchain-buildroot uclibc: allow to build aarch64 internal toolchain 2017-02-03 20:58:56 +01:00
toolchain-external Fix makefile include order by using sort/wildcard. 2017-11-30 08:24:03 +01:00
Config.in toolchain: disable PIE for static build with musl 2017-06-01 16:11:50 +02:00
helpers.mk toolchain: remove no longer relevant comment 2017-03-13 23:58:43 +01:00
toolchain-common.in toolchain: CodeSourcery AMD64 affected by PR19615 2017-07-19 23:15:11 +02:00
toolchain-wrapper.c Revert "reproducible: fix DATE/TIME macros in toolchain-wrapper" 2017-02-20 23:26:05 +01:00
toolchain-wrapper.mk arch/Config.in.mips: add support for XBurst cores 2016-11-09 21:36:34 +01:00
toolchain.mk toolchain: use the <PKG>_TARGET_FINALIZE_HOOKS 2016-07-18 23:30:46 +02:00