Bump buildroot to version 2017-02
TG-3 #closed
This commit is contained in:
@@ -26,15 +26,23 @@ ifeq ($(BR2_x86_x1000),y)
|
||||
TOOLCHAIN_WRAPPER_ARGS += -DBR_OMIT_LOCK_PREFIX
|
||||
endif
|
||||
|
||||
# Avoid FPU bug on XBurst CPUs
|
||||
ifeq ($(BR2_mips_xburst),y)
|
||||
TOOLCHAIN_WRAPPER_ARGS += -DBR_NO_FUSED_MADD
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_CCACHE_USE_BASEDIR),y)
|
||||
TOOLCHAIN_WRAPPER_ARGS += -DBR_CCACHE_BASEDIR='"$(BASE_DIR)"'
|
||||
endif
|
||||
|
||||
# For simplicity, build directly into the install location
|
||||
define TOOLCHAIN_BUILD_WRAPPER
|
||||
$(Q)mkdir -p $(HOST_DIR)/usr/bin
|
||||
define TOOLCHAIN_WRAPPER_BUILD
|
||||
$(HOSTCC) $(HOST_CFLAGS) $(TOOLCHAIN_WRAPPER_ARGS) \
|
||||
-s -Wl,--hash-style=$(TOOLCHAIN_WRAPPER_HASH_STYLE) \
|
||||
toolchain/toolchain-wrapper.c \
|
||||
-o $(HOST_DIR)/usr/bin/toolchain-wrapper
|
||||
-o $(@D)/toolchain-wrapper
|
||||
endef
|
||||
|
||||
define TOOLCHAIN_WRAPPER_INSTALL
|
||||
$(INSTALL) -D -m 0755 $(@D)/toolchain-wrapper \
|
||||
$(HOST_DIR)/usr/bin/toolchain-wrapper
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user