|
@@ -125,6 +125,7 @@ endif
|
|
|
TOOLCHAIN_EXTERNAL_CROSS=$(TOOLCHAIN_EXTERNAL_BIN)/$(TOOLCHAIN_EXTERNAL_PREFIX)-
|
|
|
TOOLCHAIN_EXTERNAL_CC=$(TOOLCHAIN_EXTERNAL_CROSS)gcc
|
|
|
TOOLCHAIN_EXTERNAL_CXX=$(TOOLCHAIN_EXTERNAL_CROSS)g++
|
|
|
+TOOLCHAIN_EXTERNAL_READELF=$(TOOLCHAIN_EXTERNAL_CROSS)readelf
|
|
|
TOOLCHAIN_EXTERNAL_WRAPPER_ARGS = -DBR_SYSROOT='"$(STAGING_SUBDIR)"'
|
|
|
|
|
|
ifeq ($(filter $(HOST_DIR)/%,$(TOOLCHAIN_EXTERNAL_BIN)),)
|
|
@@ -368,7 +369,9 @@ $(STAMP_DIR)/ext-toolchain-checked: $(TOOLCHAIN_EXTERNAL_DEPENDENCIES)
|
|
|
exit 1 ; \
|
|
|
fi ; \
|
|
|
if test x$(BR2_arm) == x"y" ; then \
|
|
|
- $(call check_arm_abi,$(TOOLCHAIN_EXTERNAL_CC)) ; \
|
|
|
+ $(call check_arm_abi,\
|
|
|
+ "$(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS)",\
|
|
|
+ $(TOOLCHAIN_EXTERNAL_READELF)) ; \
|
|
|
fi ; \
|
|
|
if test x$(BR2_INSTALL_LIBSTDCPP) == x"y" ; then \
|
|
|
$(call check_cplusplus,$(TOOLCHAIN_EXTERNAL_CXX)) ; \
|