From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3-resend 2/2] new program: usb_modeswitch_data
Date: Mon, 13 Feb 2012 22:40:10 +0100 [thread overview]
Message-ID: <201202132240.11019.arnout@mind.be> (raw)
In-Reply-To: <CAAXf6LVC7C3mWLhvkFWONt3=4M=29wysdbGiw7nkRdmgSnBGWw@mail.gmail.com>
On Monday 13 February 2012 09:03:23 Thomas De Schampheleire wrote:
> On Sun, Feb 12, 2012 at 11:29 PM, Arnout Vandecappelle <arnout@mind.be> wrote:
> > On Sunday 12 February 2012 20:09:53 J.C. Woltz wrote:
> >> usb_modeswitch_data provides udev rules for usb VID/PID combinations to
> >> switch usb deices from their default mode into a more useable mode. The
> >> default mode usually is a cdrom with installation software that is of
> >> little use in an embedded linux situation
> >>
> >> Signed-off-by: J.C. Woltz <jwoltz@gmail.com>
> >>
> >> Fix usb_modeswitch_data to depend usb_modeswitch
> >> add $(TARGET_CONFIGURE_OPTS) to be consistent with usb_modeswitch
> >
> > Err... You just changed it into TARGET_CONFIGURE_ENV in usb_modeswitch...
> >
> > [snip]
> >> +++ b/package/usb_modeswitch_data/Config.in
> >> @@ -0,0 +1,8 @@
> >> +config BR2_PACKAGE_USB_MODESWITCH_DATA
> >> + depends on BR2_PACKAGE_USB_MODESWITCH
> >
> > Can we have a third opinion on whether this should be depends or select?
> >
>
> Arnout,
> Do I understand correctly from this that you prefer 'select'? Could
> you expand on this?
I explained that in my reply to the v1 of the patch:
"That's not entirely true. select itself is transitive; it just
doesn't check if the select'd item depends on something. But it will
recursively select other packages. So with the select statement,
USB_MODESWITCH_DATA will select USB_MODESWITCH, which will select
LIBUSB_COMPAT, which will select LIBUSB.
[snip]
I think the general trend is to prefer select rather than depends when
they are separate packages - precisely because this avoids the potential
inconsistencies you mentioned. Take libusb-compat, for instance. It's
obviously an extension of libusb, but because libusb-compat selects libusb,
it makes it easy and safe for other packages to select libusb-compat."
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
next prev parent reply other threads:[~2012-02-13 21:40 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-12 19:09 [Buildroot] [PATCH v3-resend 1/2] usb_modeswitch: update to 1.2.3 J.C. Woltz
2012-02-12 19:09 ` [Buildroot] [PATCH v3-resend 2/2] new program: usb_modeswitch_data J.C. Woltz
2012-02-12 22:29 ` Arnout Vandecappelle
2012-02-13 3:00 ` J.C. Woltz
2012-02-13 8:03 ` Thomas De Schampheleire
2012-02-13 16:59 ` J.C. Woltz
2012-02-14 23:46 ` Arnout Vandecappelle
2012-02-14 23:48 ` [Buildroot] [PATCH] tcl: replace option to install library only with positive option to install tclsh Arnout Vandecappelle
2012-02-16 0:09 ` J.C. Woltz
2012-07-15 21:37 ` Thomas Petazzoni
2012-07-25 17:01 ` Arnout Vandecappelle
2012-02-13 21:40 ` Arnout Vandecappelle [this message]
2012-02-14 9:22 ` [Buildroot] [PATCH v3-resend 2/2] new program: usb_modeswitch_data Thomas De Schampheleire
2012-02-14 17:30 ` Arnout Vandecappelle
2012-02-12 19:19 ` [Buildroot] [PATCH v3-resend 1/2] usb_modeswitch: update to 1.2.3 J.C. Woltz
2012-02-12 22:21 ` Arnout Vandecappelle
2012-02-13 2:57 ` J.C. Woltz
2012-02-14 6:47 ` Arnout Vandecappelle
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=201202132240.11019.arnout@mind.be \
--to=arnout@mind.be \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox