[uClibc] kernel headers
Jonas
jonasmg at softhome.net
Mon May 31 12:30:14 UTC 2004
With kernel 2.4.26 I have copied the heads of this form:
cd linux-2.4.26
make include/linux/version.h
make symlinks
mkdir /tools/include/asm
cp include/asm/* /tools/include/asm
cp -R include/asm-generic /tools/include
cp -R include/linux /tools/include
In addition I had to copy Makefile since uClibc uses it
cp Makefile /tools/include
Although it could avoid using it this:
cd ../uClibc
echo > extra/scripts/fix_includes.sh
I build uClibc indicating that the kernel headers were in /tools/include but
it fails. It can be a bug?
The solution that I found was:
cp -R /tools/include/{asm,linux} uClibc/include
I do not know if it would be better to use mv instead of cp, since uclibc
copies the heads in /tools/include
--
Jonas MG
More information about the uClibc
mailing list