toolchain-external: move parts to pkg-toolchain-external.mk
authorArnout Vandecappelle <arnout@mind.be>
Mon, 7 Nov 2016 01:19:58 +0000 (02:19 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 23 Nov 2016 21:05:00 +0000 (22:05 +0100)
commitda20a8b43d4b68e7cb0117ee8de773afe026cfc1
tree205fed348f6b5bcc88ddaec25e99f8c318d1cefc
parent6d98b57527ba3393511c97ad42164d647ad543ed
toolchain-external: move parts to pkg-toolchain-external.mk

pkg-toolchain-external.mk will be used later to define the
toolchain-external-package infra. Most of the variable and macro
definitions are shared with the legacy generic-package based
toolchain-external. Move these to pkg-toolchain-external.mk.

pkg-toolchain-external.mk is included implicitly by the include
toolchain/*/*.mk in the top-level Makefile. The order of inclusion is
not defined, but that doesn't matter because none of the variables
defined in pkg-toolchain-external.mk are used in conditions or in
rules in toolchain-external.mk, only in recursively-expanded
variables.

No functional changes at all. The output of 'make -qp' hasn't changed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Arnout: split off into separate patch]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
toolchain/toolchain-external/pkg-toolchain-external.mk [new file with mode: 0644]
toolchain/toolchain-external/toolchain-external.mk