diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-05-12 07:40:30 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-05-12 07:40:30 +0000 |
commit | 1729633be47036cd5a7f25c0374e6690c1cef9fa (patch) | |
tree | d3b9e815b8600bd72350c1877546fcc93e810f19 /rules/nfsutils.make | |
parent | 5d4bc0df5c91fae121a3344373537f02fdfda8bb (diff) | |
download | ptxdist-1729633be47036cd5a7f25c0374e6690c1cef9fa.tar.gz ptxdist-1729633be47036cd5a7f25c0374e6690c1cef9fa.tar.xz |
[nfsutils] just cleanups
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10464 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/nfsutils.make')
-rw-r--r-- | rules/nfsutils.make | 93 |
1 files changed, 15 insertions, 78 deletions
diff --git a/rules/nfsutils.make b/rules/nfsutils.make index a8242ef9b..1f77ef3c4 100644 --- a/rules/nfsutils.make +++ b/rules/nfsutils.make @@ -28,35 +28,14 @@ NFSUTILS_DIR := $(BUILDDIR)/$(NFSUTILS) # Get # ---------------------------------------------------------------------------- -nfsutils_get: $(STATEDIR)/nfsutils.get - -$(STATEDIR)/nfsutils.get: $(nfsutils_get_deps_default) - @$(call targetinfo, $@) - @$(call touch, $@) - $(NFSUTILS_SOURCE): - @$(call targetinfo, $@) + @$(call targetinfo) @$(call get, NFSUTILS) # ---------------------------------------------------------------------------- -# Extract -# ---------------------------------------------------------------------------- - -nfsutils_extract: $(STATEDIR)/nfsutils.extract - -$(STATEDIR)/nfsutils.extract: $(nfsutils_extract_deps_default) - @$(call targetinfo, $@) - @$(call clean, $(NFSUTILS_DIR)) - @$(call extract, NFSUTILS) - @$(call patchin, NFSUTILS) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- -nfsutils_prepare: $(STATEDIR)/nfsutils.prepare - NFSUTILS_PATH := PATH=$(CROSS_PATH) NFSUTILS_ENV := \ $(CROSS_ENV) \ @@ -129,51 +108,19 @@ NFSUTILS_AUTOCONF += --with-statduser=$(NFSUTILS_RPCUSER_UID) # (optionally in PATH) # --with-krb5=DIR use Kerberos v5 installation in DIR -$(STATEDIR)/nfsutils.prepare: $(nfsutils_prepare_deps_default) - @$(call targetinfo, $@) - @$(call clean, $(NFSUTILS_DIR)/config.cache) - cd $(NFSUTILS_DIR) && \ - $(NFSUTILS_PATH) $(NFSUTILS_ENV) \ - ./configure $(NFSUTILS_AUTOCONF) $(NFSUTILS_MAKEVARS) - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Compile -# ---------------------------------------------------------------------------- - -nfsutils_compile: $(STATEDIR)/nfsutils.compile - -$(STATEDIR)/nfsutils.compile: $(nfsutils_compile_deps_default) - @$(call targetinfo, $@) - cd $(NFSUTILS_DIR) && $(NFSUTILS_PATH) make - @$(call touch, $@) - -# ---------------------------------------------------------------------------- -# Install -# ---------------------------------------------------------------------------- - -nfsutils_install: $(STATEDIR)/nfsutils.install - -$(STATEDIR)/nfsutils.install: $(nfsutils_install_deps_default) - @$(call targetinfo, $@) - @$(call install, NFSUTILS) - @$(call touch, $@) - # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- -nfsutils_targetinstall: $(STATEDIR)/nfsutils.targetinstall - -$(STATEDIR)/nfsutils.targetinstall: $(nfsutils_targetinstall_deps_default) - @$(call targetinfo, $@) +$(STATEDIR)/nfsutils.targetinstall: + @$(call targetinfo) @$(call install_init, nfsutils) @$(call install_fixup,nfsutils,PACKAGE,nfsutils) @$(call install_fixup,nfsutils,PRIORITY,optional) @$(call install_fixup,nfsutils,VERSION,$(NFSUTILS_VERSION)) @$(call install_fixup,nfsutils,SECTION,base) - @$(call install_fixup,nfsutils,AUTHOR,"Robert Schwebel <r.schwebel\@pengutronix.de>") + @$(call install_fixup,nfsutils,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>") @$(call install_fixup,nfsutils,DEPENDS,) @$(call install_fixup,nfsutils,DESCRIPTION,missing) @@ -211,11 +158,11 @@ ifdef PTXCONF_NFSUTILS_V4 endif endif - # - # create the /var/lib/nfs folder - # for locking this folder must be persistent on server side! - # Do not use tmpfs or any other non persistent filesystem. - # +# # +# # create the /var/lib/nfs folder +# # for locking this folder must be persistent on server side! +# # Do not use tmpfs or any other non persistent filesystem. +# # @$(call install_copy, nfsutils, 0, 0, 0755, /var/lib/nfs) @@ -248,29 +195,19 @@ endif /var/lib/nfs/sm.bak) ifdef PTXCONF_NFSUTILS_INSTALL_USER_EXPORTS - # install user defined exportfs +# # install user defined exportfs @$(call install_copy, nfsutils, 0, 0, 0644, \ ${PTXDIST_WORKSPACE}/projectroot/etc/exports, \ /etc/exports, n) endif - # - # busybox init: start scripts - # - +# # +# # busybox init: start scripts +# # ifdef PTXCONF_INITMETHOD_BBINIT ifdef PTXCONF_NFSUTILS_NFSD_STARTSCRIPT - @$(call install_alternative, nfsutils, 0, 0, 0755, /etc/init.d/nfsd, n) + @$(call install_alternative, nfsutils, 0, 0, 0755, /etc/init.d/nfsd) endif -#ifdef PTXCONF_NFSUTILS_INSTALL_CLIENTSCRIPT -# @$(call install_alternative, nfsutils, 0, 0, 0755, /etc/init.d/nfs-client, n) -#endif -#ifdef PTXCONF_NFSUTILS_INSTALL_FUNCTIONSSCRIPT -# @$(call install_alternative, nfsutils, 0, 0, 0755, /etc/init.d/nfs-functions, n) -#endif -#ifdef PTXCONF_NFSUTILS_INSTALL_SERVERSCRIPT -# @$(call install_alternative, nfsutils, 0, 0, 0755, /etc/init.d/nfs-server, n) -#endif endif @$(call install_finish, nfsutils) @@ -278,7 +215,7 @@ endif # /sbin/rpcdebug # /sbin/sm-notify - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Clean |