Re: Setting CFLAGS for kernel modules compiling
From: Vardan Kushnir (sophim_at_pol.ru)
Date: 11/28/05
- Next message: Luxman: "My mencoder does not support Xvid"
- Previous message: Robert Latest: "Re: Moving to UNIX"
- In reply to: Grant: "Re: Setting CFLAGS for kernel modules compiling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Nov 2005 10:24:09 GMT
Grant <g_r_a_n_t_@dodo.com.au> says...
>
>
>On 27 Nov 2005 20:25:12 GMT, Vardan Kushnir <sophim@pol.ru> wrote:
>
>>I can edit /usr.src/linux/Makefile and change -O2 to -O0 or -O3, but
>>this only changes kernel compile, mot modules compile. How do I set
>>this in modules?
>
>Try top-level Makefile: MODFLAGS, the top-level Makefile is the only
>one a user changes to customise the kernel build to their site.
Where may this "top-level Makefile: MODFLAGS" be found? Is file?
Is data in /usr.src/linux/Makefile file? Is data in some other
file? If so, what is file-name and directrory-name?
>Altering the optimisation may break the kernel, let us know how you
>fare.
OK I will do this.
>I suggest go to 2.4.32, it is latest stable, the patch file is only
>59kB from: http://www.kernel.org/pub/linux/kernel/v2.4/patch-2.4.32.gz
OK I will do this also. Thank you.
- Next message: Luxman: "My mencoder does not support Xvid"
- Previous message: Robert Latest: "Re: Moving to UNIX"
- In reply to: Grant: "Re: Setting CFLAGS for kernel modules compiling"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]