From: Johannes Berg <johannes@sipsolutions.net>
To: backports@vger.kernel.org
Subject: compat-drivers wishlist
Date: Thu, 28 Mar 2013 22:49:05 +0100 [thread overview]
Message-ID: <1364507345.10397.42.camel@jlt4.sipsolutions.net> (raw)
Hi,
I've long been fed up with the state of compat's build system, so I
figured I'd start by soliciting wishlist items.
FWIW, I think that the whole compat-drivers/scripts/ dir needs to be
rewritten for this ... :-)
My personal wishlist is below. I realize that some of these wishes cause
contradictions/problems in their implementation, but nonetheless I have
them :-)
1) Ability to copy only some drivers.
We're interested in using compat-drivers to ship our driver to
customers for
older kernels. We're not at all interested in shipping DRM, Atheros
drivers,
etc.
2) To make that easier: split all patches per *file* in addition to per
change.
That way, it would be possible to apply only patches for those files
that are
actually in the tree. Right now, I heavily patch out those patches
that aren't
really need.
I suppose the best way would be to have directories for each change
and change
the script that applies them to parse the patch header first. Or just
ignore
patches that fail with "no file", but I don't know if that's easy to
determine
from the patch exit status code.
3) Separate the output from the compat-drivers tree.
There's no reason to ship patches/, most of scripts/ etc. in the
resulting
tarball, in fact it's just confusing. Having the output in a separate
directory, copying there only the few things that are needed, would
be very
helpful.
4) Kconfig.
This is a bit conflicting with 1) because a valid Kconfig structure
requires
all the sub-Kconfig files exist. Maybe ship all Kconfig files, or
automate a
way to remove "source" statements for files that don't exist
(probably easy)
I'll leave it at that for now, and follow up with some concrete
implementation ideas :-)
Any other thoughts?
johannes
next reply other threads:[~2013-03-28 21:49 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-28 21:49 Johannes Berg [this message]
2013-03-28 22:15 ` compat-drivers wishlist Luis R. Rodriguez
2013-03-28 22:24 ` Luis R. Rodriguez
2013-03-28 22:32 ` Johannes Berg
2013-03-28 22:27 ` Johannes Berg
2013-03-28 22:54 ` Hauke Mehrtens
2013-03-28 23:01 ` Johannes Berg
2013-03-28 22:20 ` Johannes Berg
2013-03-28 22:40 ` Hauke Mehrtens
2013-03-28 22:59 ` Johannes Berg
2013-03-28 23:23 ` Luis R. Rodriguez
2013-03-28 23:40 ` Johannes Berg
2013-03-29 0:08 ` Luis R. Rodriguez
2013-03-30 18:30 ` Johannes Berg
2013-03-30 21:35 ` Luis R. Rodriguez
2013-03-30 21:48 ` Johannes Berg
2013-03-30 22:06 ` Luis R. Rodriguez
2013-03-30 0:29 ` Johannes Berg
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=1364507345.10397.42.camel@jlt4.sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=backports@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 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.