From: Florian Fainelli Date: Fri, 10 Aug 2012 14:15:06 +0000 (+0000) Subject: move LIB_SUFFIX from base-files to rules.mk X-Git-Tag: reboot~13176 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fb9023bb8a7ac809435c6622506abcb3690d8d03;p=oweals%2Fopenwrt.git move LIB_SUFFIX from base-files to rules.mk Some packages are going to need fixups based on LIB_SUFFIX SVN-Revision: 33080 --- diff --git a/package/base-files/Makefile b/package/base-files/Makefile index bb88d5d32d..441d394288 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -23,9 +23,6 @@ ifneq ($(DUMP),1) ifneq ($(wildcard $(PLATFORM_DIR)/base-files-$(PROFILE) $(PLATFORM_SUBDIR)/base-files-$(PROFILE)),) TARGET:=$(TARGET)-$(PROFILE) endif - ifneq ($(findstring $(ARCH) , mips64 x86_64 ),) - LIB_SUFFIX:=64 - endif endif define Package/base-files diff --git a/rules.mk b/rules.mk index 114b16ce3a..abb961e7de 100644 --- a/rules.mk +++ b/rules.mk @@ -122,6 +122,10 @@ endif LIBRPC=-lrpc LIBRPC_DEPENDS=+librpc +ifneq ($(findstring $(ARCH) , mips64 x86_64 ),) + LIB_SUFFIX:=64 +endif + ifndef DUMP ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) -include $(TOOLCHAIN_DIR)/info.mk