python-jinja2: bump to version 2.9.5
[buildroot-gz.git] / toolchain / toolchain-external / toolchain-external.mk
blob48de1e71f2f91a39b238da913d79db03134f0422
1 ################################################################################
3 # toolchain-external
5 ################################################################################
7 TOOLCHAIN_EXTERNAL_ADD_TOOLCHAIN_DEPENDENCY = NO
9 # musl does not provide an implementation for sys/queue.h or sys/cdefs.h.
10 # So, add the musl-compat-headers package that will install those files,
11 # into the staging directory:
12 # sys/queue.h: header from NetBSD
13 # sys/cdefs.h: minimalist header bundled in Buildroot
14 ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
15 TOOLCHAIN_EXTERNAL_DEPENDENCIES += musl-compat-headers
16 endif
18 $(eval $(virtual-package))
20 # Ensure the external-toolchain package has a prefix defined.
21 # This comes after the virtual-package definition, which checks the provider.
22 ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y)
23 ifeq ($(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PREFIX)),)
24 $(error No prefix selected for external toolchain package $(BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL). Configuration error)
25 endif
26 endif
28 include toolchain/toolchain-external/*/*.mk