From fe46689f104b5d0363f06a286a215fd98a3e6d72 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Fri, 3 Apr 2015 00:07:43 +0000 Subject: packages: use $(LN) macro, make symlinks relative Signed-off-by: Nicolas Thill SVN-Revision: 45250 --- package/boot/kexec-tools/Makefile | 2 +- package/boot/uboot-envtools/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'package/boot') diff --git a/package/boot/kexec-tools/Makefile b/package/boot/kexec-tools/Makefile index e5d4b4b2f4..6f04bce7be 100644 --- a/package/boot/kexec-tools/Makefile +++ b/package/boot/kexec-tools/Makefile @@ -81,7 +81,7 @@ define Package/kexec-tools/install # make a link for compatability with other distros $(INSTALL_DIR) $(1)/sbin - ln -s /usr/sbin/kexec $(1)/sbin/kexec + $(LN) ../usr/sbin/kexec $(1)/sbin/kexec endef $(eval $(call BuildPackage,kexec-tools)) diff --git a/package/boot/uboot-envtools/Makefile b/package/boot/uboot-envtools/Makefile index d011c507a9..c016ac05e1 100644 --- a/package/boot/uboot-envtools/Makefile +++ b/package/boot/uboot-envtools/Makefile @@ -66,7 +66,7 @@ endef define Package/uboot-envtools/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/env/fw_printenv $(1)/usr/sbin - ln -s fw_printenv $(1)/usr/sbin/fw_setenv + $(LN) fw_printenv $(1)/usr/sbin/fw_setenv $(INSTALL_DIR) $(1)/lib $(INSTALL_DATA) ./files/uboot-envtools.sh $(1)/lib ifneq ($(CONFIG_TARGET_ar71xx),) -- cgit v1.2.3