On 01/22/2013 02:31 AM, Willy Lambert wrote: > 2013/1/22 Willy Lambert <[email protected]>: >> 2013/1/22 John Morris <[email protected]>: >>> Hi Willy, >>> >>> On 01/21/2013 06:43 PM, Willy Lambert wrote: >>>> Here is a first try. >>>> http://www.xenomai.org/index.php/Building_kernel >>>> Don't hesitate to comment/correct this. I will add some links later to : >>>> _ a good complete kernel building guide (if you have some please share) >>>> _ x86 configure hints wiki page. >>>> >>>> The end is a bit specific to Debian/Ubuntu distros. Is it a problem ? >>>> Should I rework this ? >>> >>> Nice write-up. I've done the same thing on the LinuxCNC website. Feel >>> free to comment, fix, borrow, ignore.... >>> >>> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?XenomaiKernel >>> >>> John >>> >> >> Arg, a pity I know this just after I write the xenomai wiki :D But >> anyway thanks for pointing >> >> I think a part of this stuff has to come to the xenomai wiki because >> the question rise from time to time. We need 2 things : >> _ something like my page, about general thinking, maybe without the >> compilation details (which is not depending on versions) >> _ intructions to build everything with latests versions (which is more >> like your page), which we have to maintain... (it alredy exists >> somewhere on the wiki, but I think is is not about kernel compilation)
Good point, that's an important distinction I hadn't thought of: general thinking vs. compilation recipe. The Xenomai wiki does have something like that recipe for both xenomai and kernel packages: http://www.xenomai.org/index.php/Building_Debian_packages >> One point is that I'm not taking care about cross compiling the kernel... I'd like to know more about that, too, since LinuxCNC is preparing to support the BeagleBone (ARM) and will need kernel packages. > Btw I personnaly don't use the --revision option to manage different > tries because it is not completely visible when the packaged is > installed. There are a number of shortcomings with the instructions on my wiki page, but as the page states, it is meant for one-off builds, and not meant for packages to be widely distributed. What do you do instead? I actually have never used Debian before, and have no idea what common practice is. I did spend some time preparing kernel packages that I hope will be suitable for distribution some day. The packages are built with dpkg-buildpackage, not make-kpkg, and use the revision from debian/changelog. There is a separate wiki page here that discusses more 'general thinking' subjects: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?XenomaiKernelPackages John _______________________________________________ Xenomai mailing list [email protected] http://www.xenomai.org/mailman/listinfo/xenomai
