kumquat-buildroot/package/rsh-redone/rsh-redone.mk
Arnout Vandecappelle (Essensium/Mind) e1502ebc0c all packages: rename XXXTARGETS to xxx-package
Also remove the redundant $(call ...).

This is a purely mechanical change, performed with
find package linux toolchain boot -name \*.mk | \
  xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \
               -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \
               -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17 20:23:05 +02:00

37 lines
1.2 KiB
Makefile

#############################################################
#
# rsh-redone
#
#############################################################
RSH_REDONE_VERSION = 85
RSH_REDONE_SOURCE = rsh-redone_$(RSH_REDONE_VERSION).orig.tar.gz
RSH_REDONE_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/r/rsh-redone
rsh-redone-bin-y =
rsh-redone-bin-$(BR2_PACKAGE_RSH_REDONE_RCP) += rcp
rsh-redone-bin-$(BR2_PACKAGE_RSH_REDONE_RLOGIN) += rlogin
rsh-redone-bin-$(BR2_PACKAGE_RSH_REDONE_RSH) += rsh
rsh-redone-sbin-y =
rsh-redone-sbin-$(BR2_PACKAGE_RSH_REDONE_RLOGIND) += rlogind
rsh-redone-sbin-$(BR2_PACKAGE_RSH_REDONE_RSHD) += rshd
define RSH_REDONE_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) BIN="$(rsh-redone-bin-y)" SBIN="$(rsh-redone-sbin-y)"
endef
define RSH_REDONE_INSTALL_TARGET_CMDS
$(if $(rsh-redone-bin-y)$(rsh-redone-sbin-y),
$(RSH_REDONE_BUILD_CMDS) DESTDIR=$(TARGET_DIR) \
$(if $(rsh-redone-bin-y),install-bin) \
$(if $(rsh-redone-sbin-y),install-sbin))
endef
define RSH_REDONE_UNINSTALL_TARGET_CMDS
rm -f \
$(addprefix $(TARGET_DIR)/usr/bin/,$(rsh-redone-bin-y)) \
$(addprefix $(TARGET_DIR)/usr/sbin/,$(rsh-redone-sbin-y))
endef
$(eval $(generic-package))