Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36204
LIBRPC=-lrpc
LIBRPC_DEPENDS=+librpc
-ifneq ($(findstring $(ARCH) , mips64 x86_64 ),)
+ifeq ($(CONFIG_ARCH_64BIT),y)
LIB_SUFFIX:=64
endif
depends (mips || mipsel || mips64 || mips64el)
bool
+config ARCH_64BIT
+ bool
+
# Architecture selection
config arm
config mips64
select BIG_ENDIAN
+ select ARCH_64BIT
bool
config mips64el
+ select ARCH_64BIT
bool
config powerpc
config powerpc64
select BIG_ENDIAN
+ select ARCH_64BIT
bool
config sh3
bool
config x86_64
+ select ARCH_64BIT
bool
config ARCH
ln -sf ../include $(TOOLCHAIN_DIR)/$(REAL_GNU_TARGET_NAME)/sys-include
rm -rf $(TOOLCHAIN_DIR)/$(REAL_GNU_TARGET_NAME)/lib
ln -sf ../lib $(TOOLCHAIN_DIR)/$(REAL_GNU_TARGET_NAME)/lib
- $(if $(CONFIG_mips64)$(CONFIG_mips64el)$(CONFIG_x86_64),ln -sf ../lib64 $(TOOLCHAIN_DIR)/$(REAL_GNU_TARGET_NAME)/lib64)
+ $(if $(CONFIG_ARCH_64BIT),ln -sf ../lib64 $(TOOLCHAIN_DIR)/$(REAL_GNU_TARGET_NAME)/lib64)
endef
define Host/Configure