When I've compiled the Atmel sources for Red Hat and Mandrake, I found that both of those distributions' kernel sources came with a .config file ready for use, and that file should reside in the top-level of the kernel sources directory, eg. /usr/src/linux. There may also be a config-2.4.20-xfs-ARCH (or some similarly named) file in a directory inside /usr/src/linux, too, and (by convention) in /boot.Quote:
Originally Posted by patmad
Having said all this, it does surprise me a bit that it can't find your kernel sources, but then looking at the setup.sh script, I'm surprised it finds mine. ;-) Still, what you could try is this:
This should send the environment variable into the script.Code:KERNEL_SRC=/usr/src/linux make config
If it can't find the sources properly, it'll complain a lot about nothing that is really helpful.Quote:
Originally Posted by patmad
I doubt it. It may be the case that you need to do some of the first steps of compiling the kernel before the headers are found - the RPMs for Red Hat (and possibly Mandrake) may already have some of that work done. Look at the kernel README file and search for "make dep" - I think that might be of interest, but only if the trickery with telling the script about your kernel doesn't work. Personally, I don't believe you should really need to go that far with a recent kernel - earlier kernels had showstopper bugs which prevented the Atmel cards working properly... apparently.Quote:
Originally Posted by patmad
We're not there yet! Just wait until you have to configure the thing. ;-)Quote:
Originally Posted by patmad
