version 1.105, 2011/06/23 22:46:12 |
version 1.106, 2011/07/04 23:37:32 |
|
|
ELF_TOOLCHAIN?= yes |
ELF_TOOLCHAIN?= yes |
.endif |
.endif |
|
|
# gcc3 |
GCC2_ARCH=m68k m88k sparc vax |
.if ${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "m88k" || \ |
GCC4_ARCH=amd64 hppa i386 mips64* powerpc sparc64 |
${MACHINE_ARCH} == "sparc" || ${MACHINE_ARCH} == "vax" |
|
|
.for _arch in ${MACHINE_ARCH} |
|
.if !empty(GCC2_ARCH:M${_arch}) |
USE_GCC3?=no |
USE_GCC3?=no |
COMPILER_VERSION?=gcc2 |
COMPILER_VERSION?=gcc2 |
.elif ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "hppa" || \ |
.elif !empty(GCC4_ARCH:M${_arch}) |
${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH:Mmips64*} || \ |
|
${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64" |
|
COMPILER_VERSION?=gcc4 |
COMPILER_VERSION?=gcc4 |
.else |
.else |
USE_GCC3?=yes |
USE_GCC3?=yes |
COMPILER_VERSION?=gcc3 |
COMPILER_VERSION?=gcc3 |
.endif |
.endif |
|
.endfor |
|
|
# where the system object and source trees are kept; can be configurable |
# where the system object and source trees are kept; can be configurable |
# by the user in case they want them in ~/foosrc and ~/fooobj, for example |
# by the user in case they want them in ~/foosrc and ~/fooobj, for example |