mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: matt mooney <mfmooney@gmail.com>
To: Greg Kroah-Hartman <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 14/14] package: Makefile: add USB/IP userspace utilities
Date: Sat, 14 May 2011 03:55:20 -0700	[thread overview]
Message-ID: <5f759d070b6bf0f72d92c632e94e6fe5d9943a96.1305369176.git.mfm@muteddisk.com> (raw)
In-Reply-To: <cover.1305369175.git.mfm@muteddisk.com>

From: matt mooney <mfm@muteddisk.com>

Add usbip-src-pkg target to generate a tarball of the userspace source.

Signed-off-by: matt mooney <mfm@muteddisk.com>
---
 scripts/package/Makefile |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/scripts/package/Makefile b/scripts/package/Makefile
index a834b93..c736a12 100644
--- a/scripts/package/Makefile
+++ b/scripts/package/Makefile
@@ -134,6 +134,19 @@ $(error unknown target $@))))                                       \
 perf-%pkg: FORCE
 	$(call cmd,perf_tar)
 
+# usbip-src-pkg - generate a source tarball of USB/IP userspace utilities
+# ---------------------------------------------------------------------------
+usbip-pkg := usbip-$(KERNELVERSION)
+usbip-userspace := $(srctree)/drivers/staging/usbip/userspace
+
+quiet_cmd_usbip_pkg = TAR  $(usbip-pkg)
+      cmd_usbip_pkg = \
+		tar czfP $(usbip-pkg).tar.gz $(usbip-userspace)	\
+			--transform="s:$(usbip-userspace):$(usbip-pkg):"
+
+usbip-src-pkg: FORCE
+	$(call cmd,usbip_pkg)
+
 # Help text displayed when executing 'make help'
 # ---------------------------------------------------------------------------
 help: FORCE
@@ -148,4 +161,4 @@ help: FORCE
 	@echo '  perf-targz-src-pkg  - Build $(perf-tar).tar.gz source tarball'
 	@echo '  perf-tarbz2-src-pkg - Build $(perf-tar).tar.bz2 source tarball'
 	@echo '  perf-tarxz-src-pkg  - Build $(perf-tar).tar.xz source tarball'
-
+	@echo '  usbip-src-pkg       - Build source tarball of USB/IP userspace utilities'
-- 
1.7.5.1


  parent reply	other threads:[~2011-05-14 10:57 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-14 10:55 [PATCH 00/14] staging: usbip: userspace code matt mooney
2011-05-14 10:55 ` [PATCH 01/14] staging: usbip: add " matt mooney
2011-05-15  3:46   ` Chris Frey
2011-05-15 16:29     ` Greg KH
2011-05-15 16:49       ` Chris Frey
2011-05-14 10:55 ` [PATCH 02/14] staging: usbip: userspace: move manpages to separate directory matt mooney
2011-05-14 10:55 ` [PATCH 03/14] staging: usbip: userspace: rename source directories matt mooney
2011-05-14 10:55 ` [PATCH 04/14] staging: usbip: userspace: remove unused files matt mooney
2011-05-14 10:55 ` [PATCH 05/14] staging: usbip: userspace: whitespace cleanup matt mooney
2011-05-14 10:55 ` [PATCH 06/14] staging: usbip: userspace: update module name references matt mooney
2011-05-14 10:55 ` [PATCH 07/14] staging: usbip: userspace: configure.ac: major overhaul matt mooney
2011-05-14 10:55 ` [PATCH 08/14] staging: usbip: userspace: cleanup makefiles matt mooney
2011-05-14 10:55 ` [PATCH 09/14] staging: usbip: userspace: set libusbip version in configure.ac matt mooney
2011-05-14 10:55 ` [PATCH 10/14] staging: usbip: userspace: remove revision $Id$ matt mooney
2011-05-14 10:55 ` [PATCH 11/14] staging: usbip: userspace: remove gcc warnings matt mooney
2011-05-14 10:55 ` [PATCH 12/14] staging: usbip: userspace: move common cflags to configure.ac matt mooney
2011-05-14 10:55 ` [PATCH 13/14] staging: usbip: userspace: modify project gcc flags matt mooney
2011-05-14 10:55 ` matt mooney [this message]
2011-05-17 20:23   ` [PATCH 14/14] package: Makefile: add USB/IP userspace utilities Greg KH
2011-05-17 21:13     ` matt mooney
2011-05-17 21:21       ` Greg KH
2011-05-17 21:59         ` matt mooney
2011-05-17 22:45           ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5f759d070b6bf0f72d92c632e94e6fe5d9943a96.1305369176.git.mfm@muteddisk.com \
    --to=mfmooney@gmail.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®