Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
make.conf question....
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
mattie01
n00b
n00b


Joined: 30 Nov 2005
Posts: 33

PostPosted: Fri Feb 17, 2006 5:08 pm    Post subject: make.conf question.... Reply with quote

ok hopefully another fairly simple question, does the make.conf file effect just the building of the kernel or does it also effect every package i emerge after the system is up and running...

sorry if this is stupid i've tried checking thought the faq's and google but just can't seem to find the info i am looking for...


the reason i ask is i got my sgi o2 booting by using geoman's kernel so do i still need to configure the make.conf file so that i gets the best out of his system when i emerges anything new on the machine... or does it simply just effect the building of the kernel?

many thanks

mattm
Back to top
View user's profile Send private message
erikm
l33t
l33t


Joined: 08 Feb 2005
Posts: 631

PostPosted: Fri Feb 17, 2006 5:22 pm    Post subject: Reply with quote

The make.conf file only affects built packages, not the kernel, that is. If you want to break your kernel you need to edit the Makefile in /usr/src/linux.
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Sat Feb 18, 2006 2:41 pm    Post subject: Reply with quote

The USE= variable will have an influence on the kernel (namely if you enable USEFLAGS such as ip27, ip28, ip30 and cobalt). These USE flags simply apply particular patchsets to enable support for a particular system.

Their primary influence though, is on packages you merge following the installation of the base system. So configuring make.conf is still a very good idea, unless you don't mind using the profile default USE flags and/or Gentoo's default mirrors. ;-)
I personally like to point make.conf to my own local mirrors, which in turn are pointed at Gentoo's Australian mirrors (for obvious reasons) -- but this is entirely up to you, the user.
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
mattie01
n00b
n00b


Joined: 30 Nov 2005
Posts: 33

PostPosted: Mon Feb 20, 2006 10:41 am    Post subject: Reply with quote

ok should this be fine for my SGI O2 R5000 box?
its just i don't want to kill it after just getting it installed?
also if they are set wrong i'd like to know know before getting to the point where i'm trying to emerge some apps and then finding out its the make.conf thats nuked the machine...


Code:
these flags were set by the catalyst build script that automatically built this stage
please consult /etc/make.conf.example for a more deailed example
CFLAGS="-O2" -mips4 -mabi=32"
CHOST="mips-unkown-linux-gnu"
CXXFLAGS="$(CFLAGS)"
config_protect="-*"


many thanks

mattm
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Mon Feb 20, 2006 11:30 am    Post subject: Reply with quote

That should be fine... the USE= variable will be assumed from your system's profile. emerge info will tell you what settings are in effect:

Code:
Portage 2.0.51.22-r3 (default-linux/mips/mips64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.15-o2-gcfbc9cac mips64)
=================================================================
System uname: 2.6.15-o2-gcfbc9cac mips64 R5000 V2.1  FPU V1.0
Gentoo Base System version 1.6.14
distcc 2.16 mips-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1, 2.4.2
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="mips"
AUTOCLEAN="yes"
CBUILD="mips-unknown-linux-gnu"
CFLAGS="-O2 -mips4 -mabi=32 -pipe"
CHOST="mips-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mips4 -mabi=32 -pipe"
DISTDIR="/home/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distcc distlocks fixpackages maketest
nostrip sfperms strict test"
GENTOO_MIRRORS="http://www/portage http://qube/pub/gentoo
http://mirror.aarnet.edu.au/pub/gentoo ftp://ftp.planetmirror.com/pub/gentoo
http://mirror.pacific.net.au/linux/Gentoo http://mirror.isp.net.au/ftp/pub/gentoo/
http://ftp.swin.edu.au/gentoo/"
LINGUAS="en_GB en_AU en"
MAKEOPTS="-j4"
PKGDIR="/home/portage/packages/mips/mips4"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/portage/overlay"
SYNC="rsync://www/gentoo-portage"
USE="mips X Xaw3d a52 aac aalib apache2 audiofile avahi berkdb bitmap-fonts bookmarks
bzip2 cjk cle266 crypt cups curl dbus doc dvd dvdread dxr3 encode expat fam
fame fbcon ffmpeg flac font-server fontconfig fortran gd gdbm gimp gimpprint gitsendemail
glut gnutls gpm gstreamer gtk gtk2 howl-compat idn imap imlib ipv6 javascript
jpeg jpeg2k kde lcms ldap libcaca libclamav libwww lzo md5sum mdnsresponder-compat
mikmod mjpeg mmap mng mnt mozsha1 mp3 mpeg multislot musicbrainz
mysql ncurses network nls oav ogg opengl oss pam pcre pdflib perl png povray pvm python
qt quicktime readline samba sdl softmmu speex spell sqlite ssl svg tcltk tcpd
tetex theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb
userlocales utf8 v4l vcd vidix vorbis webdav winbind wmf wxgtk1 xml xml2 xmms xpm
xprint xv xvid xvmc zlib linguas_en_GB linguas_en_AU linguas_en userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS

_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
mattie01
n00b
n00b


Joined: 30 Nov 2005
Posts: 33

PostPosted: Mon Feb 20, 2006 2:15 pm    Post subject: Reply with quote

this is what i get when i do an emerge info

Code:

Portage 2.0.51.22-r3 (default-linux/mips/mips64/2006.0, gcc-3.4.3-20050110, glib
c-2.3.4.20050125-r1, 2.6.15-rc7-g91483db9 mips64)
=================================================================
System uname: 2.6.15-rc7-g91483db9 mips64 R5000 V2.1  FPU V1.0
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.4.21-r3
ACCEPT_KEYWORDS="mips"
AUTOCLEAN="yes"
CBUILD="mips-unknown-linux-gnu"
CFLAGS="-O2 -mips4 -mabi=32"
CHOST="mips-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1
1/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mips4 -mabi=32"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="mips X berkdb bitmap-fonts bzip2 expat fortran gdbm gpm libwww ncurses nls
opengl pam perl png python readline sdl ssl tcpd truetype truetype-fonts type1-f
onts udev zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVER
LAY
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Mon Feb 20, 2006 2:38 pm    Post subject: Reply with quote

Yep... and if you look at the blob starting with USE=, those are the USE flags set by your profile, those are the system defaults which you can override in make.conf. Disabled USE flags are ommitted.
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures 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