Commit 9934630f authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Peter Korsgaard
Browse files

toolchain-buildroot: convert to the package infrastructure



This commit converts the toolchain-buildroot logic to the package
infrastructure. The package is fairly simple as it only defines
BUILDROOT_LIBC, and depends on host-gcc-final to get the overall
internal toolchain build logic started.

Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: default avatarThomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 8b0905bf
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
# Triggerring the build of the host-gcc-final will automaticaly do the
# build of binutils, uClibc, kernel headers and all the intermediate
# gcc steps.
################################################################################
#
# toolchain-buildroot
#
################################################################################

include toolchain/helpers.mk
TOOLCHAIN_BUILDROOT_SOURCE =

BUILDROOT_LIBC = $(call qstrip,$(BR2_TOOLCHAIN_BUILDROOT_LIBC))

toolchain-buildroot: host-gcc-final
# Trigerring the build of the host-gcc-final will automatically do the
# build of binutils, uClibc, kernel headers and all the intermediate
# gcc steps.

TOOLCHAIN_BUILDROOT_DEPENDENCIES = host-gcc-final

$(eval $(generic-package))