It's needed for modules that are distributed sperately, so that
they can use cc -I /lib/modules/`uname -r`/build/include
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.
Mike.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/