On Wednesday 28 May 2008 21:42, Tilman Glotzner wrote: > I have several kernels source in /usr/src. My host machine is running a > 2.6.18-gentoo kernel. > I trying to compile busybox for a 2.4.36.3 kernel living in > /usr/src/linux-2.4.36.3 for an embedded x86 target by setting the symlink > linux to linux-2.4.36.3. > > Doing a "file" on the busybox executable reveals that it is always compiled > for GNU/Linux 2.6.9. A 2.6.9. kernel however does not live on my machine. > > Is there an option that allows me to tell the build chain where to look for > the linux kernel ?
The kernel headers usually form the part of the toolchain, specifically part of libc. I'd create a new toolchain for the target instead of trying to replace kernel headers in existiong one. That can be difficult to do correctly. -- vda _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
