All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Patrick Doyle <wpdster@gmail.com>, backports@vger.kernel.org
Subject: Re: How to use backports?
Date: Tue, 15 May 2018 22:04:06 +0200	[thread overview]
Message-ID: <1526414646.4450.13.camel@sipsolutions.net> (raw)
In-Reply-To: <CAF_dkJDhJtg95_DZ96OFuYNRtZkS1YWNZSvB9f_UJL0teDK8eQ@mail.gmail.com> (sfid-20180515_214223_713521_1BD8D086)

Hi Patrick,

> From reading https://backports.wiki.kernel.org/index.php/Documentation/integration
> it would appear that I should be able to do something vaguely like:
> 
> $ ./gentree.py --integrate --clean --gitdebug ../linux-ath-erstrom
> ../buildroot/build/linux-custom

In theory yes. I can't really recommend --integrate, it's untested. I
may remove it entirely since nobody is maintaining it.

> You need to have installed: spatch >= 1.0.6
> Try installing the package: coccinelle

Indeed. There was actually a very recent commit (latest commit) that
would make this require only an earlier version. Reverting that may be
easier for you.

> So now I am trying to compile coccinelle from source and that is failing:
> 
> cp: cannot stat '/usr/lib/ocaml/parmap/parmap.cmx': No such file or directory
> Makefile:620: recipe for target 'ocaml/parmap.cmi' failed
> 
> It appears that the version of libparmap-ocaml-dev I installed on my
> Ubuntu 16.04 workstation does not include parmap.cmx.  (It includes
> parmap.cmxa and parmap.cmxs, but not parmap.cmx).
> 
> Or, perhaps I'm off on completely the wrong tangent here.

That I can't really say. I guess you could ask the coccinelle mailing
list about it.

> So, first questions first...
> If I want to port a driver from the latest linux-ath-erstrom source
> tree to my custom 4.9 source tree, is backports and gentree.py the
> right way to go?

Yes, that sounds reasonable. I don't know what "linux-ath-erstrom" is,
but if it's reasonably close to upstream now it should be OK.

> Should I reasonably expect gentree to run on a 16.04 LTS Ubuntu?  If
> so, what dependencies should I install?

No idea, sorry.

johannes

--
To unsubscribe from this list: send the line "unsubscribe backports" in

  reply	other threads:[~2018-05-15 20:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-15 19:41 How to use backports? Patrick Doyle
2018-05-15 20:04 ` Johannes Berg [this message]
2018-05-15 20:26   ` Patrick Doyle
2018-05-15 20:30     ` Johannes Berg
2018-05-15 22:19       ` Steve deRosier
2018-05-16 13:24         ` Patrick Doyle
2018-05-16 13:26           ` Johannes Berg
2018-05-16 13:28             ` Patrick Doyle

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=1526414646.4450.13.camel@sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=backports@vger.kernel.org \
    --cc=wpdster@gmail.com \
    /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.