diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2007-03-09 12:18:51 +0000 |
---|---|---|
committer | Ladislav Michl <ladis@linux-mips.org> | 2007-03-09 12:18:51 +0000 |
commit | 471de30fc4884cf766feff3d1f26717c5f6a921c (patch) | |
tree | e1d23266a80c084812e91569e1b09f07e79fd326 /rules/utelnetd.make | |
parent | ce1af0f871e88cf97ea6a107b613481ec98c0dcb (diff) | |
download | ptxdist-471de30fc4884cf766feff3d1f26717c5f6a921c.tar.gz ptxdist-471de30fc4884cf766feff3d1f26717c5f6a921c.tar.xz |
Install startup link only if startup script is installed.
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7038 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/utelnetd.make')
-rw-r--r-- | rules/utelnetd.make | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/rules/utelnetd.make b/rules/utelnetd.make index 819f6ae95..47ce22cd2 100644 --- a/rules/utelnetd.make +++ b/rules/utelnetd.make @@ -16,11 +16,11 @@ PACKAGES-$(PTXCONF_UTELNETD) += utelnetd # # Paths and names # -UTELNETD_VERSION = 0.1.9 -UTELNETD = utelnetd-$(UTELNETD_VERSION) -UTELNETD_URL = http://www.pengutronix.de/software/utelnetd/$(UTELNETD).tar.gz -UTELNETD_SOURCE = $(SRCDIR)/$(UTELNETD).tar.gz -UTELNETD_DIR = $(BUILDDIR)/$(UTELNETD) +UTELNETD_VERSION = 0.1.9 +UTELNETD = utelnetd-$(UTELNETD_VERSION) +UTELNETD_URL = http://www.pengutronix.de/software/utelnetd/$(UTELNETD).tar.gz +UTELNETD_SOURCE = $(SRCDIR)/$(UTELNETD).tar.gz +UTELNETD_DIR = $(BUILDDIR)/$(UTELNETD) # ---------------------------------------------------------------------------- @@ -100,6 +100,7 @@ $(STATEDIR)/utelnetd.targetinstall: $(utelnetd_targetinstall_deps_default) @$(call install_fixup, utelnetd,AUTHOR,"Robert Schwebel <r.schwebel\@pengutronix.de>") @$(call install_fixup, utelnetd,DEPENDS,) @$(call install_fixup, utelnetd,DESCRIPTION,missing) + # # Install the startup script on request only # @@ -116,8 +117,6 @@ ifdef PTXCONF_ROOTFS_ETC_INITD_UTELNETD_USER ${PTXDIST_WORKSPACE}/projectroot/etc/init.d/utelnetd, \ /etc/init.d/telnetd, n) endif -endif - # # FIXME: Is this packet the right location for the link? # @@ -126,7 +125,7 @@ ifneq ($(PTXCONF_ROOTFS_ETC_INITD_TELNETD_LINK),"") @$(call install_link, utelnetd, ../init.d/telnetd, \ /etc/rc.d/$(PTXCONF_ROOTFS_ETC_INITD_TELNETD_LINK)) endif - +endif @$(call install_copy, utelnetd, 0, 0, 0755, $(UTELNETD_DIR)/utelnetd, \ /sbin/utelnetd) |