summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-10 14:15:06 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-10 14:15:06 +0000
commit039dd7421f24a09a5fc0b089167ddfb1340f4d5e (patch)
tree6532157e549ecac5ed650a120e57c79312daa0ae
parent3a86756f40b511afa47996f5f66c7dea8fac20aa (diff)
[buildroot] move LIB_SUFFIX from base-files to rules.mk
Some packages are going to need fixups based on LIB_SUFFIX git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33080 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/base-files/Makefile3
-rw-r--r--rules.mk4
2 files changed, 4 insertions, 3 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index bb88d5d32..441d39428 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 114b16ce3..abb961e7d 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