On Mon, Sep 08, 2003 at 08:33:17PM +0200, Sven Luther wrote: > On Mon, Sep 08, 2003 at 04:58:22PM +0100, Paul Nasrat wrote: > > I've been doing some work building drivers using XFree86 sdk, and > > here are a few things I've noticed.
> I have been working on this selfsame thing, but alas have not had time > to do much work on this, but i will look at it again this WE. OK, well if you want me to compare notes I'd be happy to do so. > Mmm. The SDK as it currently stands doesn't survive well if you move it > around, and the selfsame problem happens if you use drivers sources from > another source than the SDK. From the nightly drivers CVS snapshots for > example. Yes, I originally tried lndir as I started using a full XFree86 source and lndir, but it would still try and write to /usr, but I did get it to work as a non-root user using the imake command I used ( you can look at the xfree86-ati-driver srpm at http://pauln.truemesh.com/rpms/ ) in combination with s#../../../#/path/to/sdk# style patch. > > INCLUDES = -I. -I$(XF86DriverSDKTop)/include > > Mmm, Yep, that would be nice, especially if you can later override the > XF86DriverSDKTop variable to build anywhere. Yes this would save the need for having to patch each driver source to build with the sdk but with the driver source elsewhere (or ro /usr or non-root builds...) > Did you use the CVS ati driver with the CVS SDK, or the CVS ati driver > with the 4.3.0 SDK ? I cheated I ripped out the driver in a stand alone tar.gz. But I have built a cvs tgz of the via driver too, I just don't have the h/w to test. However I'm pretty confident that the path patch and imake command is generic. > I think egbert is working on a redesigned SDK, maybe such projects would > fall better in such a framework. Sounds intresting - would that be in CVS anywhere, I'm just starting with looking at XFree86 so I've not really checked out CVS (no pun intended). > I myself am not so favorable to it, > unless we build a two level SDK. One would be called DDK and be only for > drivers, the standard SDK would build depend on it and provide > functionality for more stuff. Sounds fair enough, my feeling was that it might grow quite big.o Let me know how you get on. Paul _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
