-make -C /usr/src/linux SUBDIRS=$PWD modules
+make -C /lib/modules/$(uname -r)/build SUBDIRS=$PWD modules
in linice-2.6/bin-2.6/compile_2.6
That it was possible to compile without source codes of a kernel in
/usr/src.
[root@tpchome bin-2.6]# ./compile_2.6
make: Entering directory `/lib/modules/2.6.10-1.737asp/build'
CC [M] /root/linice/linice-2.6-devel/bin-2.6/iceface.o
LD [M] /root/linice/linice-2.6-devel/bin-2.6/linice.o
Building modules, stage 2.
MODPOST
Warning: could not find
/root/linice/linice-2.6-devel/bin-2.6/.linice_kernel.o_shipped.cmd for
/root/linice/linice-2.6-devel/bin-2.6/linice_kernel.o_shipped
CC /root/linice/linice-2.6-devel/bin-2.6/linice.mod.o
LD [M] /root/linice/linice-2.6-devel/bin-2.6/linice.ko
make: Leaving directory `/lib/modules/2.6.10-1.737asp/build'
------------------------------------------------------------------------------
Creating linice_2.6.10-1.737asp and copying kernel-dependent module...
------------------------------------------------------------------------------
Done. You may now run "linsym -i" to install the linice module.
Do you talk about this ?
>Warning: could not find
/root/linice/linice-2.6-devel/bin-2.6/.linice_kernel.o_shipped.cmd >for
/root/linice/linice-2.6-devel/bin-2.6/linice_kernel.o_shipped
I think we should get rid completely of the scheme of compilation with
_shipped as I wrote earlier.
All we need for this two .S sources :-)