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/ 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 -- Pengutronix e.K. | Marc Kleine-Budde | Linux Solutions for Science and Industry | Phone: +49-231-2826-924 | Peiner Strasse 6-8, 31137 Hildesheim, Germany | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
-- ptxdist mailing list [email protected]
