diff --git a/sys/conf/Makefile.sparc64 b/sys/conf/Makefile.sparc64 index ccac00d9c1a1..96bdde05780c 100644 --- a/sys/conf/Makefile.sparc64 +++ b/sys/conf/Makefile.sparc64 @@ -16,16 +16,31 @@ # after which config should be rerun for all machines. # +THIS_ARCH!= uname -m +.if ${THIS_ARCH} != "sparc64" + +TOOLPATH= /arch/sparc64/uberbaum/bin +TOOLPREFIX= sparc64-deo-freebsd5- +AR= ${TOOLPATH}/${TOOLPREFIX}ar +CC= ${TOOLPATH}/${TOOLPREFIX}gcc +LD= ${TOOLPATH}/${TOOLPREFIX}ld +NM= ${TOOLPATH}/${TOOLPREFIX}nm +OBJCOPY= ${TOOLPATH}/${TOOLPREFIX}objcopy +OBJDUMP= ${TOOLPATH}/${TOOLPREFIX}objdump +RANLIB= ${TOOLPATH}/${TOOLPREFIX}ranlib +SIZE= ${TOOLPATH}/${TOOLPREFIX}size + +COPT+= -B${TOOLPATH}/ +NO_CPU_COPTFLAGS=true + MACHINE_ARCH= sparc64 -NO_CPU_COPTFLAGS=true +.endif # cross compiling CWARNFLAGS= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \ -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \ -ansi -FMT= - # Which version of config(8) is required. %VERSREQ= 500010