summaryrefslogtreecommitdiff
path: root/sys/arch/pmax/conf/Makefile.pmax
diff options
context:
space:
mode:
authorThomas Graichen <graichen@cvs.openbsd.org>1996-10-29 17:02:40 +0000
committerThomas Graichen <graichen@cvs.openbsd.org>1996-10-29 17:02:40 +0000
commit52f65e9e9c03300eb356424ee744bc31010d232c (patch)
tree8e89399ddc0afb1c7f35092cb83f1037270cda3e /sys/arch/pmax/conf/Makefile.pmax
parentc1018c7b6f3b91afed0c549cffeecaaecfe2d7bb (diff)
bring the source tree a bit up to date with my local tree
Diffstat (limited to 'sys/arch/pmax/conf/Makefile.pmax')
-rw-r--r--sys/arch/pmax/conf/Makefile.pmax10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/pmax/conf/Makefile.pmax b/sys/arch/pmax/conf/Makefile.pmax
index d3122845a7b..de4b7e34f78 100644
--- a/sys/arch/pmax/conf/Makefile.pmax
+++ b/sys/arch/pmax/conf/Makefile.pmax
@@ -24,7 +24,7 @@
AS?= as
CC?= cc
CPP?= cpp
-LD?= ld
+LD= /usr/local/bin/ld
STRIP?= strip -d
TOUCH?= touch -f -c
@@ -33,8 +33,8 @@ S= ../../../..
PMAX= ../..
INCLUDES= -I. -I$S/arch -I$S
-CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dpmax ${GP}
-CFLAGS= ${DEBUG} -O2 -Werror
+CPPFLAGS= ${INCLUDES} ${IDENT} -D_KERNEL -Dpmax
+CFLAGS= ${DEBUG} -O2 -Werror -mno-abicalls -mcpu=r3000
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
LINKFLAGS= -N -Ttext 80030000 -e start
@@ -99,7 +99,7 @@ LINKFLAGS+= -x
SYSTEM_LD_TAIL+=;\
mv $@ $@.elf; \
- elf2aout $@.elf $@; \
+ /usr/local/bin/elf2aout $@.elf $@; \
chmod 755 $@
%LOAD
@@ -111,7 +111,7 @@ genassym: genassym.o
${CC} -o $@ genassym.o
genassym.o: ${S}/arch/pmax/pmax/genassym.c
- ${NORMAL_C_C}
+ ${CC} ${INCLUDES} ${IDENT} -D_KERNEL -Dpmax -c $<
param.c: $S/conf/param.c
rm -f param.c