]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
lrzsz: install symlinks for XMODEM and YMODEM master origin/master
authorBaruch Siach <baruch@tkos.co.il>
Thu, 24 May 2018 17:51:18 +0000 (20:51 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 24 May 2018 21:11:13 +0000 (23:11 +0200)
This sets the protocol choice according to the program invocation name.
That is the common lrzsz installation practice.

Cc: Matthew Starr <mstarr@hedonline.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/lrzsz/lrzsz.mk

index 5dac07a2953e1830dbda071d8958e1423932b948..25ecf3deade0899dd764c30f0bacee7c1ddc19c2 100644 (file)
@@ -24,6 +24,10 @@ define LRZSZ_INSTALL_TARGET_CMDS
        $(INSTALL) -m 0755 -D $(@D)/src/lsz $(TARGET_DIR)/usr/bin/sz
        ln -sf rz $(TARGET_DIR)/usr/bin/lrz
        ln -sf sz $(TARGET_DIR)/usr/bin/lsz
+       ln -sf rz $(TARGET_DIR)/usr/bin/rb
+       ln -sf sz $(TARGET_DIR)/usr/bin/sb
+       ln -sf rz $(TARGET_DIR)/usr/bin/rx
+       ln -sf sz $(TARGET_DIR)/usr/bin/sx
 endef
 
 $(eval $(autotools-package))