Re: [RFC] Splitting kernel headers and deprecating __KERNEL__

From: Miquel van Smoorenburg
Date: Tue Nov 30 2004 - 19:43:22 EST


In article <41ACFDAF.3040209@xxxxxxxxxxxxxxxxxx>,
Chris Friesen <cfriesen@xxxxxxxxxxxxxxxxxx> wrote:
>Christoph Hellwig wrote:
>
>>>b) when include/user is deemed sufficiently populated, a flag day is
>>>declared and links from /usr/include are switched to them
>>
>>
>> there are no such links, only copies (more or less modified)
>
>This may be somewhat heretical, but someone has to ask...
>
>Once include/user/foo.h is sufficiently clean and sufficiently complete, is
>there any reason to not allow such links?

It would be cleaner to use gcc -I /lib/modules/`uname -r`/build/include
so that you don't break regular compiles by accident.

Mike.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/