Brian F. G. Bidulock wrote:
Arjan, On Mon, 29 May 2006, Arjan van de Ven wrote:external modules shouldn't care, they really really should inherit the cflags from the kernel's makefiles at which point.. the thing is moot.Yes, and ultimately the kernel's makefile (if present) are the best place to get CFLAGS from. However, the task of ensuring that the correct Makefile is present and that the correct configuration information is feeding it (back to .config) is distribution specific and not always straightforward. --brian
How about external modules that have a kernel dependant part and kernel independant part?. Kernel independant part could live in a separate tree and
has its own makefiles.But regparm requires that ALL parts linked into the module need to have regparm defined. So it's another headache to write makefiles for the kernel independant part to figure out if the distro support regparm or not.
regards Dev Mazumdar ----------------------------------------------------------- 4Front Technologies 4035 Lafayette Place, Unit F, Culver City, CA 90232, USA. Tel: (310) 202 8530 URL: www.opensound.com Fax: (310) 202 0496 Email: [email protected] ----------------------------------------------------------- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: How to check if kernel sources are installed on a system?
- From: Arjan van de Ven <[email protected]>
- Re: How to check if kernel sources are installed on a system?
- From: [email protected]
- Re: How to check if kernel sources are installed on a system?
- From: "Brian F. G. Bidulock" <[email protected]>
- Re: How to check if kernel sources are installed on a system?
- References:
- Re: How to check if kernel sources are installed on a system?
- From: Arjan van de Ven <[email protected]>
- Re: How to check if kernel sources are installed on a system?
- From: Heiko Carstens <[email protected]>
- Re: How to check if kernel sources are installed on a system?
- From: Arjan van de Ven <[email protected]>
- Re: How to check if kernel sources are installed on a system?
- From: Lee Revell <[email protected]>
- Re: How to check if kernel sources are installed on a system?
- From: Arjan van de Ven <[email protected]>
- Re: How to check if kernel sources are installed on a system?
- From: Lee Revell <[email protected]>
- Re: How to check if kernel sources are installed on a system?
- From: "Brian F. G. Bidulock" <[email protected]>
- Re: How to check if kernel sources are installed on a system?
- From: Arjan van de Ven <[email protected]>
- Re: How to check if kernel sources are installed on a system?
- From: 4Front Technologies <[email protected]>
- Re: How to check if kernel sources are installed on a system?
- From: Arjan van de Ven <[email protected]>
- Re: How to check if kernel sources are installed on a system?
- From: "Brian F. G. Bidulock" <[email protected]>
- Re: How to check if kernel sources are installed on a system?
- Prev by Date: Re: How to check if kernel sources are installed on a system?
- Next by Date: Re: [PATCH 2/4] Remove readv/writev methods and use aio_read/aio_write instead
- Previous by thread: Re: How to check if kernel sources are installed on a system?
- Next by thread: Re: How to check if kernel sources are installed on a system?
- Index(es):