diff options
author | Nicolas Thill <nico@openwrt.org> | 2015-04-03 00:07:43 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2015-04-03 00:07:43 +0000 |
commit | 9456cf255e95022d0c40afaf88c41177f9ac14c9 (patch) | |
tree | 686b0d657f68ac831587057ce6fdc54b3dfd511d /package/system | |
parent | 1243352b6bf93a2fb72155ac45fd0e5116bb70ae (diff) | |
download | upstream-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/system')
-rw-r--r-- | package/system/ca-certificates/Makefile | 2 | ||||
-rw-r--r-- | package/system/fstools/Makefile | 6 | ||||
-rw-r--r-- | package/system/ubox/Makefile | 10 |
3 files changed, 9 insertions, 9 deletions
diff --git a/package/system/ca-certificates/Makefile b/package/system/ca-certificates/Makefile index 546478e99f..0bf3f25eaa 100644 --- a/package/system/ca-certificates/Makefile +++ b/package/system/ca-certificates/Makefile @@ -40,7 +40,7 @@ define Package/ca-certificates/install while [ -h "$(1)/etc/ssl/certs/$$$$HASH.$$$$SUFFIX" ]; do \ let "SUFFIX += 1" ; \ done ; \ - ln -s "$$$$CERTFILE" "$(1)/etc/ssl/certs/$$$$HASH.$$$$SUFFIX" ; \ + $(LN) "$$$$CERTFILE" "$(1)/etc/ssl/certs/$$$$HASH.$$$$SUFFIX" ; \ done endef diff --git a/package/system/fstools/Makefile b/package/system/fstools/Makefile index f32ac2e35f..c76576640b 100644 --- a/package/system/fstools/Makefile +++ b/package/system/fstools/Makefile @@ -64,7 +64,7 @@ define Package/fstools/install $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/{mount_root,jffs2reset,snapshot_tool} $(1)/sbin/ $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libfstools.so $(1)/lib/ $(INSTALL_BIN) ./files/snapshot $(1)/sbin/ - ln -s /sbin/jffs2reset $(1)/sbin/jffs2mark + $(LN) jffs2reset $(1)/sbin/jffs2mark endef define Package/block-mount/install @@ -76,8 +76,8 @@ define Package/block-mount/install $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/block $(1)/sbin/ $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libblkid-tiny.so $(1)/lib/ - ln -s /sbin/block $(1)/usr/sbin/swapon - ln -s /sbin/block $(1)/usr/sbin/swapoff + $(LN) ../../sbin/block $(1)/usr/sbin/swapon + $(LN) ../../sbin/block $(1)/usr/sbin/swapoff endef diff --git a/package/system/ubox/Makefile b/package/system/ubox/Makefile index 2db011abaa..e698989993 100644 --- a/package/system/ubox/Makefile +++ b/package/system/ubox/Makefile @@ -36,11 +36,11 @@ define Package/ubox/install $(INSTALL_BIN) ./files/log.init $(1)/etc/init.d/log $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/libvalidate.so $(1)/lib - ln -s /sbin/kmodloader $(1)/usr/sbin/rmmod - ln -s /sbin/kmodloader $(1)/usr/sbin/insmod - ln -s /sbin/kmodloader $(1)/usr/sbin/lsmod - ln -s /sbin/kmodloader $(1)/usr/sbin/modinfo - ln -s /sbin/kmodloader $(1)/usr/sbin/modprobe + $(LN) ../../sbin/kmodloader $(1)/usr/sbin/rmmod + $(LN) ../../sbin/kmodloader $(1)/usr/sbin/insmod + $(LN) ../../sbin/kmodloader $(1)/usr/sbin/lsmod + $(LN) ../../sbin/kmodloader $(1)/usr/sbin/modinfo + $(LN) ../../sbin/kmodloader $(1)/usr/sbin/modprobe endef $(eval $(call BuildPackage,ubox)) |