diff options
author | obrien <obrien@FreeBSD.org> | 2002-03-24 17:42:06 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-03-24 17:42:06 +0000 |
commit | 5db6e5fbadc809b1962ac50f08f280cf68c86e5e (patch) | |
tree | 30214146e368ce6ccaf5cf4b91cff42d8ca99935 /sys/conf/Makefile.sparc64 | |
parent | 9df0f53dd93a61085fdf67ac00f9f3e2bdb699a6 (diff) | |
download | FreeBSD-src-5db6e5fbadc809b1962ac50f08f280cf68c86e5e.zip FreeBSD-src-5db6e5fbadc809b1962ac50f08f280cf68c86e5e.tar.gz |
MFP4. This slipped into a IFC(MFC) by PHK, but it could still be useful
To commit it for real.
Diffstat (limited to 'sys/conf/Makefile.sparc64')
-rw-r--r-- | sys/conf/Makefile.sparc64 | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/sys/conf/Makefile.sparc64 b/sys/conf/Makefile.sparc64 index ccac00d..96bdde0 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 |