Marc Kleine-Budde a écrit :
Jean-Philippe François wrote:
Hi and happy new year,

Thanks :)

I am using ptxdist 1.99, and I would like to know how
I can get the kernel sources to be patched using a series file.

I tried using a local tree containing a patches directory, but the
sources are used as is.

A project rules directory can override rules defined in ptxdist, so I tried
to do the same thing with a patches directory, but it does not seem to
work.

What is the proper way to handle kernel patches using the
PTXCONF_KERNEL_SERIES
config option ?

Just straight forward:
if you're using a seperate directory for your platform, i.e.:
phyCORE-i.MX27-trunk, put the kernel patches for linux-2.6.27 into this 
directory:
configs/phyCORE-i.MX27-trunk/patches/linux-2.6.27/generic/

This should be part of my project directory ?
Currently it looks like this :
selected_platformconfig
selected_ptxconfig
platform-AT91SAM9260/  (ptxdist generated)
rules/

I guess I don't understand the "if you're using a separate directory for
your platform" part

Thank you
do a ptxdist platformconfig -> Linux kernel -> patching & configuration -> patch
series file and specify wich series file should be used. Set it to "series".

Then do ptxdist clean kernel, ptxdist extract kernel.
Then the patches specifies in
"configs/phyCORE-i.MX27-trunk/patches/linux-2.6.27/generic/series" should be 
used.

You can also put the patches into: patches/linux-<linux-version>/generic, but
the are only used if no patches are present in the platformconfigdir (e.g.:
configs/phyCORE-i.MX27-trunk).

cheers, Marc

------------------------------------------------------------------------

--
ptxdist mailing list
[email protected]


--
ptxdist mailing list
[email protected]

Reply via email to