From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3-resend 1/2] usb_modeswitch: update to 1.2.3
Date: Tue, 14 Feb 2012 07:47:07 +0100 [thread overview]
Message-ID: <201202140747.07791.arnout@mind.be> (raw)
In-Reply-To: <CAC78GpfYU7HLUP3QnvbLboh91e4YkLs2JBc7Thf+WC=6y+9ELw@mail.gmail.com>
On Monday 13 February 2012 03:57:05 J.C. Woltz wrote:
> > - .patch files should have a comment at the top explaining why it is needed,
> > and a Signed-off-by line. Also, try to send the patch upstream, so we
> > don't need to carry it forward forever.
>
> What do you mean by this? Buildroot already had a patch for
> usb_modeswitch.
Indeed, and this patch didn't have a Signed-off-by. That's why this
remarks is for the next time you write a patch.
> - .patch files should have a comment at the top explaining why it is needed,
> and a Signed-off-by line. Also, try to send the patch upstream, so we
> don't need to carry it forward forever.
What do you mean by this? Buildroot already had a patch for
usb_modeswitch. The only thing my patch did to the makefile was remove
the -s flag from two install commands. On a normal system, the -s on
the install makes sense. In a buildroot environment where the software
is not installed directly, this patch was needed. If you still believe
that an upstream patch is needed, then I can do that.
BTW the new patch file doesn't reuse any change from the old patch file,
so if there would have been and S-o-b in the original patch file, you
wouldn't have had to keep it.
> The only thing my patch did to the makefile was remove
> the -s flag from two install commands. On a normal system, the -s on
> the install makes sense. In a buildroot environment where the software
> is not installed directly, this patch was needed. If you still believe
> that an upstream patch is needed, then I can do that.
But since install -s makes cross-compilation more difficult, it shouldn't
be used by anyone :-). The Makefile should at least replace it with
something configurable, e.g. $(STRIP) (which we can define to ":", because
we strip everything in the target directory but only if it was requested).
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
prev parent reply other threads:[~2012-02-14 6:47 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 ` [Buildroot] [PATCH v3-resend 2/2] new program: usb_modeswitch_data Arnout Vandecappelle
2012-02-14 9:22 ` 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 [this message]
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=201202140747.07791.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