All of lore.kernel.org
 help / color / mirror / Atom feed
* compat-drivers wishlist
@ 2013-03-28 21:49 Johannes Berg
  2013-03-28 22:15 ` Luis R. Rodriguez
  2013-03-28 22:20 ` Johannes Berg
  0 siblings, 2 replies; 18+ messages in thread
From: Johannes Berg @ 2013-03-28 21:49 UTC (permalink / raw)
  To: backports

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


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2013-03-30 22:07 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-28 21:49 compat-drivers wishlist Johannes Berg
2013-03-28 22:15 ` 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

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.