diff options
author | gingold <gingold@cvs.openbsd.org> | 1997-10-14 07:25:35 +0000 |
---|---|---|
committer | gingold <gingold@cvs.openbsd.org> | 1997-10-14 07:25:35 +0000 |
commit | f6491d400ca651a8a1493d72c6a74c622aa231b1 (patch) | |
tree | 39f29255154f230f637c12e9214f12a9e64bd9d4 /sys/arch/kbus/stand/sk/Makefile | |
parent | 7a9e3739a66bd0fadfdc611c72e879fcc6f9ef01 (diff) |
Gingold's port for kbus Series5 machine. Not fully finished and not very stable
Diffstat (limited to 'sys/arch/kbus/stand/sk/Makefile')
-rw-r--r-- | sys/arch/kbus/stand/sk/Makefile | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/sys/arch/kbus/stand/sk/Makefile b/sys/arch/kbus/stand/sk/Makefile new file mode 100644 index 00000000000..8a07f3e0316 --- /dev/null +++ b/sys/arch/kbus/stand/sk/Makefile @@ -0,0 +1,61 @@ +# $Id: Makefile,v 1.1 1997/10/14 07:25:32 gingold Exp $ + +RELOC=0xfff10000 + +S= ${.CURDIR}/../../../.. + +SRTOBJ= crt0.o +DIR_SA=$S/lib/libsa +DIR_KERN=$S/lib/libkern +M=$S/lib/libkern/arch/${MACHINE_ARCH} + +.if exists ($M/Makefile.inc) +.PATH: $M +.include "$M/Makefile.inc" +.endif + +SRC_net= nfs.c rpc.c net.c ether.c arp.c in_cksum.c netif.c \ + bootparam.c rarp.c + +#SRC_sa = alloc.c bcopy.c memcpy.c close.c getfile.c open.c \ +# printf.c read.c strerror.c ufs.c globals.c lseek.c \ +# closeall.c dev.c dkcksum.c nullfs.c fstat.c + +SRC_sa = alloc.c memcpy.c memcmp.c memset.c strncmp.c close.c getfile.c \ + open.c printf.c read.c strerror.c ufs.c globals.c lseek.c \ + dev.c + +SRC_kern= ashrdi3.c bcmp.c bzero.c strcmp.c strlen.c strncpy.c __main.c \ + urem.S udiv.S sdiv.S umul.S rem.S + +SRC_here= clock.c devopen.c dvma.c gets.c panic.c \ + promboot.c zs.c exec_sun.c \ + boot.c conf.c version.c dev_net.c if_le.c intr.c app.c \ + probe.c + +SRCS= ${SRC_net} ${SRC_sa} ${SRC_kern} ${SRC_here} + +OBJS= ${SRTOBJ} ${SRCS:S/.c/.o/g:S/.S/.o/g} + +DEFS= -DSTANDALONE -DSUN_BOOTPARAMS # -DNFS_DEBUG -DDEBUG +INCL=-I${.CURDIR} -I${S} -I${S}/lib/libsa -I${M} +COPTS= #-fno-defer-pop +CFLAGS= -g ${COPTS} ${DEFS} ${DBG} ${INCL} + + +.PATH: ${DIR_SA} ${DIR_KERN} ${DIR_KERN_ARCH} + +all: sk + +.S.o: + ${CC} -c ${CFLAGS} -o $@ $< + +sk: ${OBJS} + ${LD} -N -Ttext ${RELOC} -e start -o $@ ${OBJS} + cp $@ /tftpboot + +install: + ${INSTALL} ${INSTALL_COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ + netboot.bin ${DESTDIR}${MDEC_DIR}/netboot + +.include <bsd.prog.mk> |