[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kbuild-devel
Subject:    [kbuild-devel] Suggestion for addition to the root Makefile
From:       Peter Enderborg <pme () hyglo ! com>
Date:       2003-03-01 20:45:39
[Download RAW message or body]

WIth this little patch is easy to switch gcc version.
The the users can add its own preferences. On my system
I have 3 versions of gcc. And guess Im not alone.

diff Makefile Makefile.org
49,50c49,50
< HOSTCC        := $(firstword $(CC) gcc)
< HOSTCXX       := $(firstword $(CXX) g++)
---
 > HOSTCC        = gcc
 > HOSTCXX       = g++
152,154c152,154
< AS            := $(firstword $(AS) $(CROSS_COMPILE)as)
< LD            := $(firstword $LD) $(CROSS_COMPILE)ld)
< CC            := $(firstword $(CC) $(CROSS_COMPILE)gcc)
---
 > AS            = $(CROSS_COMPILE)as
 > LD            = $(CROSS_COMPILE)ld
 > CC            = $(CROSS_COMPILE)gcc
156,157c156,157
< AR            := $firstword ($AR) $(CROSS_COMPILE)ar)
< NM            := $firstword $(NM) $(CROSS_COMPILE)nm)
---
 > AR            = $(CROSS_COMPILE)ar
 > NM            = $(CROSS_COMPILE)nm
162,163c162,163
< GENKSYMS      := $(firstword $(GENSYMS) /sbin/genksyms)
< DEPMOD                := $(firstword $(DEPMOD) /sbin/depmod)
---
 > GENKSYMS      = /sbin/genksyms
 > DEPMOD                = /sbin/depmod
165c165
< PERL          := $(firstword $(PERL) perl)
---
 > PERL          = perl
pescadero$




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic