9a8ec9195c
This patch migrates the toolchain and toolchain-buildroot packages to the virtual package infrastructure, causing the log messages to change from: >>> toolchain undefined Downloading >>> toolchain undefined Extracting ... to >>> toolchain virtual Downloading >>> toolchain virtual Extracting ... and similar for 'toolchain-buildroot', simply because it looks nicer. At the same time, the directory names also become toolchain-virtual, toolchain-buildroot-virtual instead of the corresponding 'undefined' variants. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
18 lines
485 B
Makefile
18 lines
485 B
Makefile
################################################################################
|
|
#
|
|
# toolchain
|
|
#
|
|
################################################################################
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
|
TOOLCHAIN_DEPENDENCIES += toolchain-buildroot
|
|
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y)
|
|
TOOLCHAIN_DEPENDENCIES += toolchain-external
|
|
endif
|
|
|
|
TOOLCHAIN_ADD_TOOLCHAIN_DEPENDENCY = NO
|
|
|
|
$(eval $(virtual-package))
|
|
|
|
toolchain: $(HOST_DIR)/usr/share/buildroot/toolchainfile.cmake
|