b2fd9f90e2
This commit makes the dependency from the target toolchain explicit. This way we can buid from command line a package that use inner-generic-package right after the configuration phase, example: make clean <package-name> Also remove TARGETS_ALL because the only purpose was to add toolchain dependency so it's superseded by this commit. To prevent circular dependency add the new variable <pkgname>_ADD_TOOLCHAIN_DEPENDENCY to avoid adding the toolchain dependency for toolchain packages. This is also a step forward supporting top-level parallel make. Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
20 lines
560 B
Makefile
20 lines
560 B
Makefile
################################################################################
|
|
#
|
|
# toolchain-buildroot
|
|
#
|
|
################################################################################
|
|
|
|
TOOLCHAIN_BUILDROOT_SOURCE =
|
|
|
|
BR_LIBC = $(call qstrip,$(BR2_TOOLCHAIN_BUILDROOT_LIBC))
|
|
|
|
# Triggering 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
|
|
|
|
TOOLCHAIN_BUILDROOT_ADD_TOOLCHAIN_DEPENDENCY = NO
|
|
|
|
$(eval $(generic-package))
|