View previous topic :: View next topic |
Author |
Message |
_puck_ Tux's lil' helper
Joined: 12 May 2002 Posts: 111 Location: Kaiserslautern / Germany
|
Posted: Sun Aug 18, 2002 8:31 pm Post subject: CFLAGS during kernel compilation |
|
|
Hello there. I wonderd, if the nice CFLAGS I set in /etc/make.conf are used during the kernel compilation. I think, using the "normal" make bzImage dosn't look anywhere else. so are they used and if not, where can I put them so my kernel can profit from the same optimizations? _________________ regards
puck
___________________________
#There is more than one way to do it. |
|
Back to top |
|
|
kirill Apprentice
Joined: 01 Aug 2002 Posts: 183 Location: Finland
|
Posted: Sun Aug 18, 2002 9:28 pm Post subject: Re: CFLAGS during kernel compilation |
|
|
_puck_ wrote: | where can I put them so my kernel can profit from the same optimizations? |
from make menuconfig exit message:
Code: | Saving your kernel configuration...
*** End of Linux kernel configuration.
*** Check the top-level Makefile for additional configuration.
*** Next, you must run 'make dep'.
|
Code: |
linux # nano -w Makefile |
edit there.
but I really, *REALLY* wouldn't recommend you tweaking them. Kernel's default CFLAGS are there for good, simple -march=ix86 (from Processor type and features ---> Processor family) for your CPU should be enough. _________________ --kirill |
|
Back to top |
|
|
_puck_ Tux's lil' helper
Joined: 12 May 2002 Posts: 111 Location: Kaiserslautern / Germany
|
Posted: Sun Aug 18, 2002 10:01 pm Post subject: |
|
|
Thank you very much ... clear and easy I will leave the Makefile and be happy with my stable kernel ... _________________ regards
puck
___________________________
#There is more than one way to do it. |
|
Back to top |
|
|
|