Lines Matching full:toolchain

1 # This Makefile fragment declares toolchain related helper functions.
3 # The copy_toolchain_lib_root function copies a toolchain library and
6 # toolchain logic, and the glibc package, so care must be taken when
33 # Copy the full external toolchain sysroot directory to the staging
48 # toolchain, the sysroot for the default architecture variant contains
94 # $1: main sysroot directory of the toolchain
95 # $2: arch specific sysroot directory of the toolchain
157 # version in the toolchain.
174 # toolchain
193 # is used to check toolchain options that are always supported by
207 # Check the availability of RPC support in a glibc toolchain
223 # Check the correctness of a glibc external toolchain configuration.
225 # of the external toolchain
255 # uClibc configuration of the external toolchain, for a particular
270 echo "$(4) not available in C library, toolchain unsuitable for Buildroot" ; \
285 # Check the correctness of a uclibc external toolchain configuration
287 # of the external toolchain
290 # toolchain
313 # configuration of the external toolchain.
322 echo "External toolchain uses the unsuported OABI" ; \
325 …if ! echo 'int main(void) {}' | $${__CROSS_CC} -x c -o $(BUILD_DIR)/.br-toolchain-test.tmp - ; the…
326 rm -f $(BUILD_DIR)/.br-toolchain-test.tmp*; \
329 echo "Incorrect ABI setting: $${abistr_y} selected, but toolchain is incompatible"; \
332 rm -f $(BUILD_DIR)/.br-toolchain-test.tmp*
335 # Check that the external toolchain supports C++
343 echo "C++ support is selected but is not available in external toolchain" ; \
349 # Check that the external toolchain supports D language
355 __o=$(BUILD_DIR)/.br-toolchain-test-dlang.tmp ; \
360 echo "D language support is selected but is not available in external toolchain" ; \
367 # Check that the external toolchain supports Fortran
373 __o=$(BUILD_DIR)/.br-toolchain-test-fortran.tmp ; \
378 echo "Fortran support is selected but is not available in external toolchain" ; \
385 # Check that the external toolchain supports OpenMP
391 __o=$(BUILD_DIR)/.br-toolchain-test-openmp.tmp ; \
396 echo "OpenMP support is selected but is not available in external toolchain"; \
444 echo "Unable to detect the toolchain sysroot, Buildroot cannot use this toolchain." ; \
449 echo "External toolchain doesn't support --sysroot. Cannot use." ; \
454 # Check if the toolchain has SSP (stack smashing protector) support
461 …' | $${__CROSS_CC} -Werror -fstack-protector -x c - -o $(BUILD_DIR)/.br-toolchain-test.tmp >/dev/n…
463 echo "SSP support available in this toolchain, please enable BR2_TOOLCHAIN_EXTERNAL_HAS_SSP" ; \
467 …echo "SSP support not available in this toolchain, please disable BR2_TOOLCHAIN_EXTERNAL_HAS_SSP" …
472 …}' | $${__CROSS_CC} -Werror $${__SSP_OPTION} -x c - -o $(BUILD_DIR)/.br-toolchain-test.tmp >/dev/n…
473 …echo "SSP option $${__SSP_OPTION} not available in this toolchain, please select another SSP level…
477 rm -f $(BUILD_DIR)/.br-toolchain-test.tmp*