All of lore.kernel.org
 help / color / mirror / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] usbip: new package
Date: Wed, 26 Dec 2012 09:06:12 +0200	[thread overview]
Message-ID: <20121226070612.GC7402@sapphire.tkos.co.il> (raw)
In-Reply-To: <CAOPBCFULJTm7iooZ8=nnpMoooaRq=1PK11hhYyyGVr=DdM2e2w@mail.gmail.com>

Hi Marcin,

On Wed, Dec 26, 2012 at 07:44:32AM +0100, Marcin Bis wrote:
> The following patch adds new package: usbip (tools for sharing USB
> devices over network).
> I have tested it under various ARM builds.
> 
> Please consider adding it to Buildroot.

This sentence is not part of the commit log. You can put it below...

> 
> Signed-off-by: Marcin Bis <marcin@bis.org.pl>
> --

here.

>  package/Config.in       |    1 +
>  package/usbip/Config.in |   13 +++++++++++++
>  package/usbip/usbip.mk  |   15 +++++++++++++++
>  3 files changed, 29 insertions(+), 0 deletions(-)
> 
> diff --git a/package/Config.in b/package/Config.in
> index 3d556b2..c773c46 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -684,6 +684,7 @@ source "package/transmission/Config.in"
>  source "package/ttcp/Config.in"
>  source "package/udpcast/Config.in"
>  source "package/ulogd/Config.in"
> +source "package/usbip/Config.in"
>  source "package/ushare/Config.in"
>  source "package/vde2/Config.in"
>  source "package/vpnc/Config.in"
> diff --git a/package/usbip/Config.in b/package/usbip/Config.in
> new file mode 100644
> index 0000000..3cdbbc7
> --- /dev/null
> +++ b/package/usbip/Config.in
> @@ -0,0 +1,13 @@
> +config BR2_PACKAGE_USBIP
> +	bool "usbip"
> +	select BR2_PACKAGE_LIBGLIB2
> +	select BR2_PACKAGE_LIBSYSFS

Please add a 'depends' for each dependency of these packages. glib2 depends on 
BR2_USE_WCHAR.

> +	help
> +	  Userspace tools for sharing USB devices over TCP/IP network.
> +
> +	  http://usbip.sourceforge.net/
> +
> +	  This package adds both: client and server support.

Letting the user select the client and server support independently from each 
other would be nice, but this can be done later.

> +	  Note: For exporting or connecting to exported USB devices
> +	  additional kernel drivers are needed (available since 2.6.28
> +	  under Stagging).
> diff --git a/package/usbip/usbip.mk b/package/usbip/usbip.mk
> new file mode 100644
> index 0000000..2ec3ce9
> --- /dev/null
> +++ b/package/usbip/usbip.mk
> @@ -0,0 +1,15 @@
> +#############################################################
> +#
> +# usbip
> +#
> +#############################################################
> +
> +USBIP_VERSION = 0.1.7
> +USBIP_SITE = http://downloads.sourceforge.net/project/usbip/usbip/$(USBIP_VERSION)
> +USBIP_LICENSE = GPLv2+
> +USBIP_LICENSE_FILES = COPYING
> +USBIP_CONF_OPT = --without-tcpwrappers
> +USBIP_SUBDIR = src
> +USBIP_AUTORECONF = YES

Why is this needed? Please add an explanation comment.

You also need to add a USBIP_DEPENDENCIES listing the packages that you select 
in Config.in, to ensure correct build order.

> +
> +$(eval $(autotools-package))

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

  reply	other threads:[~2012-12-26  7:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-26  6:44 [Buildroot] [PATCH] usbip: new package Marcin Bis
2012-12-26  7:06 ` Baruch Siach [this message]
2012-12-26  8:27   ` [Buildroot] [PATCH v2] " Marcin Bis
2012-12-26  8:49   ` [Buildroot] [PATCH] " Thomas Petazzoni
2012-12-26  8:55     ` [Buildroot] [PATCH v3] " Marcin Bis
2012-12-26 16:35       ` Baruch Siach
2012-12-26 16:49         ` Jeremy Rosen
2012-12-26 17:32           ` Thomas Petazzoni
2013-08-13 21:20       ` Thomas Petazzoni

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=20121226070612.GC7402@sapphire.tkos.co.il \
    --to=baruch@tkos.co.il \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.