Skip to contentSkip to conversation

Kernel headers

Buildroot Piotr Grudzinski 2 participants 3 messages Jan 9, 2008

lore
Share & tools
lore
#1 lore raw
Quoted 1 line

Is it possible to use kernel headers which are already on my system?

Anything is possible in an infinite universe.
In this case, it will probably require changing the toolchain_build_<arch>/linux link to point at your kernel headers after they have been extracted,' or do it before the kernel headers generated and then fullfil the Makefile needs so they do not get overwritten

Question is: Whats the benefit of doing that

Best Regards
Ulf Samuelsson

#2 lore raw

I have created my toolchain with the buildroot program but even the simplest program built with it fails (with an illegal instruction) when tested on a system from uclinux.org. Both are based on kernel 2.6.22.x and uClibc 0.9.29. So the idea was to take header and uClibc from the working distribution and rebuild the toolchain.
Now it looks like the problem is in uClibc; both libs are 0.9.29 but they have different arm/crt1.s files.

Regards,
Piotr

----- Original Message -----

Quoted 1 line

Is it possible to use kernel headers which are already on my system?

Anything is possible in an infinite universe.
In this case, it will probably require changing the toolchain_build_<arch>/linux
link to point at your kernel headers after they have been extracted,' or do it before the kernel headers generated and then fullfil the Makefile needs so they do not get overwritten

Question is: Whats the benefit of doing that

Best Regards
Ulf Samuelsson