Change to work with new config stuff for specifying load address.

This commit is contained in:
mycroft 1993-07-18 10:08:22 +00:00
parent 97159f53d2
commit 2565e5e15a
1 changed files with 5 additions and 6 deletions

View File

@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from @(#)Makefile.i386 7.1 5/10/91
# $Id: Makefile.i386,v 1.21 1993/07/18 09:48:49 mycroft Exp $
# $Id: Makefile.i386,v 1.22 1993/07/18 10:08:22 mycroft Exp $
#
# Makefile for NetBSD
#
@ -22,7 +22,7 @@
#
TOUCH= touch -f -c
LD= /usr/bin/ld
CC= cc
CC= gcc
CPP= cpp
S= ../../../..
@ -31,7 +31,7 @@ I386= ../..
INCLUDES= -I. -I$S/arch -I$S -I$S/sys
COPTS= ${INCLUDES} ${IDENT} -DKERNEL -Di386
ASFLAGS=
CFLAGS= -O ${COPTS}
CFLAGS= -O6 ${COPTS}
NORMAL_C= ${CC} -c ${CFLAGS} ${PROF} $<
NORMAL_C_C= ${CC} -c ${CFLAGS} ${PROF} ${PARAM} $<
@ -41,9 +41,8 @@ DRIVER_C_C= ${CC} -c ${CFLAGS} ${PROF} ${PARAM} $<
SYSTEM_OBJS=locore.o ${OBJS} param.o ioconf.o conf.o
SYSTEM_DEP=Makefile symbols.sort ${SYSTEM_OBJS}
SYSTEM_LD_HEAD= @echo loading $@; rm -f $@
SYSTEM_LOAD_ADDRESS= FE000000
SYSTEM_LD= @${LD} -z -T ${SYSTEM_LOAD_ADDRESS} -o $@ -X vers.o ${SYSTEM_OBJS}
SYSTEM_LD_TAIL= @echo rearranging symbols; symorder symbols.sort $@; /usr/sbin/dbsym -T ${SYSTEM_LOAD_ADDRESS} $@; size $@; chmod 755 $@
SYSTEM_LD= @${LD} -z -T ${LOAD_ADDRESS} -o $@ -X vers.o ${SYSTEM_OBJS}
SYSTEM_LD_TAIL= @echo rearranging symbols; symorder symbols.sort $@; /usr/sbin/dbsym -T ${LOAD_ADDRESS} $@; size $@; chmod 755 $@
# (XXX) ok, this is weird. but we've got a working ed, and a broken ex, and
# the script is identical for either... -- cgd