Suresh Kumar wrote: > Hi, > >> If the above is too complicated you can hardcode the whole stuff in your >> makefile: add >> >> -L/path/to/workspace/platform-XXX/sysroot-target/usr/lib >> ^^^^^^^^^^^^^^^^^ ^^^ >> Replace this to your needs. > > Thanks mark. it works for me. I hardcoded the stuff. As i am novice > user in the buildsystem, just started learning the cmake. i will later > migrate to cmake. I really appricate the detailed response for the > queries.
ptxdist also supports cmake for your projects. > One more query, > I received the kernel patches based on 2.6.20 (processor : AT92RM2000, > kwik byte LCD driver) from the vendor. and it works for 2.6.20 kernel. > & vendor says kernel patches available in maxim.org.za for AT91RM2000. > i downloaded the patch for 2.6.30 & build the linuximage. But the > driver was not included in the patch. So looks like LCD driver patch > is available for 2.6.20 only. Have you checked of the driver is included in the 2.6.30 kernel. > Now how do i port the old patch (2.6.20 based patch) to the 2.6.30 kernel. > can you suggest ? Do something like this: a) use the latest kernel, hope the driver is included b) ask on the arm linux kernel mailinglist what happed to the LCD driver c) hire someone to do the porting d) do it yourself: clone a git kernel from kernel.org create a branch based on 2.6.20 apply the vendor patch split the patch into LCD driver and the rest checkout a branch based on the latest stable kernel cherry pick the LCD drvier from the 2.6.20 branch hack the driver make it compile hack the driver make it boot hack the driver make it display something hack the driver cleanup the patch rebase to linux master send the patch upstream to the arm linux kernel mailinglist hack the driver until it's accepted upstream cheers, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
-- ptxdist mailing list [email protected]
