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 | fe46689f104b5d0363f06a286a215fd98a3e6d72 (patch) | |
tree | 3b892153949b8626645974385eba9b6ad9693435 /package/boot | |
parent | 6a5a7db085fd88a8e1f64107ca65124d925e790f (diff) | |
download | upstream-fe46689f104b5d0363f06a286a215fd98a3e6d72.tar.gz upstream-fe46689f104b5d0363f06a286a215fd98a3e6d72.tar.bz2 upstream-fe46689f104b5d0363f06a286a215fd98a3e6d72.zip |
packages: use $(LN) macro, make symlinks relative
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 45250
Diffstat (limited to 'package/boot')
-rw-r--r-- | package/boot/kexec-tools/Makefile | 2 | ||||
-rw-r--r-- | package/boot/uboot-envtools/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
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),) |