aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/Makefile
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-05-07 20:21:21 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-05-07 20:21:21 +0000
commit9e015c392e6000cefbc6a50ed2184c9800b0e102 (patch)
treed59280a0c9556e329dd61ce9bd709f34fb11eb70 /package/base-files/Makefile
parent03839c76de76bfa63ca1b0ef288c12f5b1011046 (diff)
downloadupstream-9e015c392e6000cefbc6a50ed2184c9800b0e102.tar.gz
upstream-9e015c392e6000cefbc6a50ed2184c9800b0e102.tar.bz2
upstream-9e015c392e6000cefbc6a50ed2184c9800b0e102.zip
[package] create the lib64 symbolic links for 64-bits supported architectures (#5075)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15698 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/Makefile')
-rw-r--r--package/base-files/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index c47a0f8ba4..8a5f67b42f 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=base-files
-PKG_RELEASE:=18
+PKG_RELEASE:=19
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
@@ -24,6 +24,9 @@ ifneq ($(DUMP),1)
ifeq ($(ARCH),x86_64)
LIB_SUFFIX:=64
endif
+ ifeq ($(ARCH),mips64)
+ LIB_SUFFIX:=64
+ endif
else
LIBC_VERSION:=<LIBC_VERSION>
LIBGCC_VERSION:=<LIBGCC_VERSION>
@@ -174,10 +177,12 @@ define Package/base-files$(TARGET)/install
mkdir -p $(1)/etc/crontabs
mkdir -p $(1)/jffs
mkdir -p $(1)/lib/firmware
+ $(if $(LIB_SUFFIX),ln -s lib $(1)/lib$(LIB_SUFFIX))
mkdir -p $(1)/mnt
mkdir -p $(1)/proc
mkdir -p $(1)/tmp
mkdir -p $(1)/usr/lib
+ $(if $(LIB_SUFFIX),ln -s lib $(1)/usr/lib$(LIB_SUFFIX))
mkdir -p $(1)/usr/bin
mkdir -p $(1)/sys
mkdir -p $(1)/www