2002-01-02 15:49:43 +03:00
|
|
|
# $NetBSD: Makefile.playstation2.inc,v 1.2 2002/01/02 12:49:43 uch Exp $
|
2001-10-16 19:38:29 +04:00
|
|
|
|
2002-01-02 15:49:43 +03:00
|
|
|
EETOOLDIR = /usr/pkg/cross-ps2
|
2001-10-16 19:38:29 +04:00
|
|
|
TARGET = mipsEEel-netbsd
|
|
|
|
|
2002-01-02 15:49:43 +03:00
|
|
|
CC = ${EETOOLDIR}/bin/${TARGET}-gcc
|
|
|
|
LD = ${EETOOLDIR}/bin/${TARGET}-ld
|
|
|
|
CXX = ${EETOOLDIR}/bin/${TARGET}-g++
|
|
|
|
AS = ${EETOOLDIR}/bin/${TARGET}-as
|
|
|
|
CPP = ${EETOOLDIR}/bin/${TARGET}-cpp
|
|
|
|
RANLIB = ${EETOOLDIR}/bin/${TARGET}-ranlib
|
|
|
|
AR = ${EETOOLDIR}/bin/${TARGET}-ar
|
|
|
|
NM = ${EETOOLDIR}/bin/${TARGET}-nm
|
|
|
|
SIZE = ${EETOOLDIR}/bin/${TARGET}-size
|
|
|
|
STRIP = ${EETOOLDIR}/bin/${TARGET}-strip
|
2001-10-16 19:38:29 +04:00
|
|
|
|
|
|
|
CFLAGS+= -mcpu=r5900 -mips1 -fno-pic \
|
|
|
|
-D__NetBSD__ -Ulinux -U__linux__ -U__linux
|
|
|
|
AFLAGS+= -mcpu=r5900 -mips1 -fno-pic \
|
|
|
|
-D__NetBSD__ -Ulinux -U__linux__ -U__linux
|