From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] kernel patches suggestion : series file ->make it a variable
Date: Fri, 16 Aug 2013 22:12:40 +0200 [thread overview]
Message-ID: <20130816201240.GB2715@free.fr> (raw)
In-Reply-To: <2EEB59F1B4624C6B8D85EC7D0B6054E5@JohanW7>
Sagaert, All,
On 2013-08-16 22:04 +0200, Sagaert Johan spake thusly:
> -----Oorspronkelijk bericht-----
> Van: Thomas Petazzoni [mailto:thomas.petazzoni at free-electrons.com]
> Verzonden: vrijdag 16 augustus 2013 12:57
> Aan: Sagaert Johan
> CC: buildroot at busybox.net
> Onderwerp: Re: [Buildroot] kernel patches suggestion : series file ->make it a variable
>
> Dear Sagaert Johan,
>
> On Fri, 16 Aug 2013 12:19:13 +0200, Sagaert Johan wrote:
>
> > Now I use a 'series' file in my board directory to specify what patches that should be applied to the kernel.
> > I would love to see a menu entry where I can specify what list of
> > patches that should be applied.(default value :series)
>
> What's the difference between what you're asking and the already existing BR2_LINUX_KERNEL_PATCH configuration option?
>
>
> Hi
>
> Also works, but it gives long lines in the menu if you have more than 5
> patches that have relative path's.
> (eg board/karo/tx53/linux-3.4.58/firmware.patch ......)
> Is just a bit difficult to see the full list then.
What you're missing, and Thomas explained, is...
> config BR2_LINUX_KERNEL_PATCH
> string "Custom kernel patches"
> help
> A space-separated list of patches to apply to the
> kernel. Each patch can be described as an URL, a local file
> path, or a directory. In the case of a directory, all files
^^^^^^^^^^^^^^
> matching linux-*.patch in the directory will be applied.
... that you can pass the path to a directory that has all the patches,
hence it becomes a singe entry:
BR2_LINUX_KERNEL_PATCH="/path/to/your/many-patches/dirextory/"
with all your patches in there.
Furthermore, if you have a file named 'series' in that directory, then
its content wil be read and patches applied in this order, rather than
in alphabetical order. So if you even have patches in sub-dir therein,
you can always use a 'series' file, whith such a content:
series:
00-stable-patches/fix-1.patch
00-stable-patches/feat-2.patch
99-experimental/000-tentative-foo-bar.patch
99-experimental/123-come-on-baby.patch
And have those patches as they are listed in 'series'.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2013-08-16 20:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-16 10:19 [Buildroot] kernel patches suggestion : series file ->make it a variable Sagaert Johan
2013-08-16 10:56 ` Thomas Petazzoni
2013-08-16 20:04 ` Sagaert Johan
2013-08-16 20:12 ` Yann E. MORIN [this message]
2013-08-18 0:26 ` Sagaert Johan
2013-08-22 19:07 ` Ralph Siemsen
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=20130816201240.GB2715@free.fr \
--to=yann.morin.1998@free.fr \
--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