toolchain-external: convert to the package infrastructure
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 8 Oct 2013 18:17:03 +0000 (20:17 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 9 Oct 2013 12:30:40 +0000 (14:30 +0200)
commitd07d2bfeb208b38c9e87e97f0c1346b909ff6a6c
treea78ece15d960a1e64fc73fbef3a48a3f94e28e2e
parent9934630fae4c4649eeb15a8235a810cb9d18038c
toolchain-external: convert to the package infrastructure

This commit converts the 'toolchain-external' logic to the package
infrastructure.

The TOOLCHAIN_EXTERNAL_DIR variable (which points to where the
toolchain is located) is renamed to TOOLCHAIN_EXTERNAL_INSTALL_DIR,
because the former conflicts with the package infrastructure (which
defines the <pkg>_DIR variable for each package as pointing to its
build directory).

The new _EXTRA_DOWNLOADS mechanism is used for Blackfin toolchains.

The extract, configuration and installation steps are converted inside
the <pkg>_EXTRACT_CMDS, <pkg>_CONFIGURE_CMDS and
<pkg>_INSTALL_STAGING_CMDS.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
toolchain/toolchain-external.mk [deleted file]
toolchain/toolchain-external/ext-tool.mk [deleted file]
toolchain/toolchain-external/toolchain-external.mk [new file with mode: 0644]