Browse Source

move LIB_SUFFIX from base-files to rules.mk

Some packages are going to need fixups based on LIB_SUFFIX

SVN-Revision: 33080
Florian Fainelli 13 years ago
parent
commit
fb9023bb8a
2 changed files with 4 additions and 3 deletions
  1. 0 3
      package/base-files/Makefile
  2. 4 0
      rules.mk

+ 0 - 3
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

+ 4 - 0
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