From: Paul H. Hargrove (PHHargrove_at_lbl_dot_gov)
Date: Fri Nov 06 2009 - 18:57:57 PST
Alan Woodland wrote: > 2009/11/2 Stefan Kluth <[email protected]>: > >> Hi Alan, >> >> the vanilla blcr 0.8.2 from >> >> https://ftg.lbl.gov/CheckpointRestart/CheckpointRestart.shtml >> >> build and check fine on ubuntu hardy, if that is of any consolation to you. >> >> For karmic (sid) I guess I'll have to wait for a new package ... I am happy >> to run some tests if that is needed. >> > > The attached patch fixes the cause of the missing modules when > building on 2.6.31. It doesn't however appear to be the only problem > when building for 2.6.31, it's now hitting a #error which I haven't > looked at yet. > > For those that are interested 2.6.31 no longer sets $(TOPDIR) in > kbuild invocations, so trying to work out if we're using kbuild based > on that fails. I switched to $(obj), I couldn't think of anything > better to use, but I'm sure there is a more appropriate variable to > use instead. > > When I've had more of a look I might post another patch here to fix > the remaining problems. > > Alan > From looking at the comments in the kernel Makefiles, I think $(srctree) is a more appropriate variable than $(obj) to replace $(TOPDIR) and is the one I am now using in my CVS. It probably makes no difference. -Paul -- Paul H. Hargrove PHHargrove_at_lbl_dot_gov Future Technologies Group Tel: +1-510-495-2352 HPC Research Department Fax: +1-510-486-6900 Lawrence Berkeley National Laboratory