Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CFLAGS during kernel compilation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
_puck_
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2002
Posts: 111
Location: Kaiserslautern / Germany

PostPosted: Sun Aug 18, 2002 8:31 pm    Post subject: CFLAGS during kernel compilation Reply with quote

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
View user's profile Send private message
kirill
Apprentice
Apprentice


Joined: 01 Aug 2002
Posts: 183
Location: Finland

PostPosted: Sun Aug 18, 2002 9:28 pm    Post subject: Re: CFLAGS during kernel compilation Reply with quote

_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
View user's profile Send private message
_puck_
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2002
Posts: 111
Location: Kaiserslautern / Germany

PostPosted: Sun Aug 18, 2002 10:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum