build -->/usr/src/linux
A message that is not in the archive (sent off-list or not yet received): [email protected]
In article <[email protected]> you write:
Quoted 9 lines
In article <[email protected]>,
Quoted 3 lines · Marvin Stodolsky
Thanks for responding. But I would still like to understand what the functionality is of the build -->
/usr/src/linuc. Is it dispensable, once the module tree has been installed?It's needed for modules that are distributed sperately, so that they can use cc -I
/lib/modules/uname -r/build/include
Quoted 8 lines
Or even
l=`pwd` cd /lib/modules/`uname -r`/build make $l/module.o.. but there should be a cleaner way to get at the CFLAGS used to compile the kernel.
Ahhhh. Not again.
uname does not always provide useful information (cross compiling). Even if you're building the same ISA, you maybe in a chroot'ed environment.
Can we please not assume that everybody only ever builds native...
Quoted 2 lines
Mike.
richard.
-----------------------------------------------------------------------
Richard Offer Technical Lead, Trust Technology.
"Specialization is for insects" __________________________________________http://reality.sgi.com/offer/
-----------------------------------------------------------------------
Richard Offer Technical Lead, Trust Technology.
"Specialization is for insects" __________________________________________http://reality.sgi.com/offer/