aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2015-04-03 00:07:43 +0000
committerNicolas Thill <nico@openwrt.org>2015-04-03 00:07:43 +0000
commit9456cf255e95022d0c40afaf88c41177f9ac14c9 (patch)
tree686b0d657f68ac831587057ce6fdc54b3dfd511d /package/base-files
parent1243352b6bf93a2fb72155ac45fd0e5116bb70ae (diff)
downloadupstream-9456cf255e95022d0c40afaf88c41177f9ac14c9.tar.gz
upstream-9456cf255e95022d0c40afaf88c41177f9ac14c9.tar.bz2
upstream-9456cf255e95022d0c40afaf88c41177f9ac14c9.zip
packages: use $(LN) macro, make symlinks relative
Signed-off-by: Nicolas Thill <nico@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45250 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 93b33c313e..d0d93e5ed6 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -127,12 +127,12 @@ define Package/base-files/install
mkdir -p $(1)/etc/rc.d
mkdir -p $(1)/overlay
mkdir -p $(1)/lib/firmware
- $(if $(LIB_SUFFIX),-ln -s lib $(1)/lib$(LIB_SUFFIX))
+ $(if $(LIB_SUFFIX),-$(LN) 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))
+ $(if $(LIB_SUFFIX),-$(LN) lib $(1)/usr/lib$(LIB_SUFFIX))
mkdir -p $(1)/usr/bin
mkdir -p $(1)/sys
mkdir -p $(1)/www