summaryrefslogtreecommitdiff
path: root/sys/arch/amiga/conf
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-12-24 23:12:15 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-12-24 23:12:15 +0000
commit76daf3bd9e1578d85b9de7aaf1e84ca42b14a7d9 (patch)
tree5f9a2bef4c3f653169212aa9621211c8e2597f50 /sys/arch/amiga/conf
parent635ab50f8c711e7422085af2db271e16970d3a2e (diff)
Harmonize and complete wrt cross-compilation.
Diffstat (limited to 'sys/arch/amiga/conf')
-rw-r--r--sys/arch/amiga/conf/Makefile.amiga10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/amiga/conf/Makefile.amiga b/sys/arch/amiga/conf/Makefile.amiga
index 4a42ff8993f..00c276ae59a 100644
--- a/sys/arch/amiga/conf/Makefile.amiga
+++ b/sys/arch/amiga/conf/Makefile.amiga
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.amiga,v 1.29 2001/12/14 08:51:17 miod Exp $
+# $OpenBSD: Makefile.amiga,v 1.30 2001/12/24 23:12:14 miod Exp $
# $NetBSD: Makefile.amiga,v 1.60 1997/07/23 10:19:42 is Exp $
# Makefile for OpenBSD
@@ -24,12 +24,13 @@
.include <bsd.own.mk>
+AS?= as
CC?= cc
+CPP?= cpp
LD?= ld
MKDEP?= mkdep
+SIZE?= size
STRIP?= strip
-TOUCH?= touch -f -c
-COPTS?= -O2
# source tree is located via $S relative to the compilation directory
.ifndef S
@@ -51,6 +52,7 @@ CMACHFLAGS= -m68060 -Wa,-m68030
.endif
CMACHFLAGS+= -msoft-float
+COPTS?= -O2
CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} ${CMACHFLAGS}
AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE
LINKFLAGS= -n -Ttext 0 -e start
@@ -112,7 +114,7 @@ SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= @rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \
${LD} ${LINKFLAGS} -o $@ ${SYSTEM_OBJ} vers.o
-SYSTEM_LD_TAIL= @size $@; chmod 755 $@
+SYSTEM_LD_TAIL= @${SIZE} $@; chmod 755 $@
DEBUG?=
.if ${DEBUG} == "-g"