1 ################################################################################
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
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
)
28 include toolchain
/toolchain-external
/*/*.mk