From b24bc96a46b94d88c0d988562ee681b83827df5c Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Thu, 14 May 2009 18:57:44 +0000 Subject: In addition to the existing IP32 boot block, build a real 64 bit boot block as a relocatable object, suitable for IP27/IP30/IP35. Boot blocks are now found is /usr/mdec/boot{32,64}, with boot-IP## being hard links to them for easy boot block pick. --- sys/arch/sgi/stand/boot64/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 sys/arch/sgi/stand/boot64/Makefile (limited to 'sys/arch/sgi/stand/boot64') diff --git a/sys/arch/sgi/stand/boot64/Makefile b/sys/arch/sgi/stand/boot64/Makefile new file mode 100644 index 00000000000..a1fe2430a8c --- /dev/null +++ b/sys/arch/sgi/stand/boot64/Makefile @@ -0,0 +1,19 @@ +# $OpenBSD: Makefile,v 1.1 2009/05/14 18:57:43 miod Exp $ + +LDFLAGS+= ${SALDFLAGS} -r --oformat=elf64-tradbigmips -e __start +STRIP= strip +INSTALL_STRIP= + +PROG= boot64 +.PATH: ${.CURDIR}/../boot +.include "${.CURDIR}/../boot/Makefile" + +${PROG}: $(OBJS) $(LDADD) + $(LD) $(LDFLAGS) -o ${PROG} $(OBJS) -L${LIBSADIR} ${LIBSA} \ + -L${LIBZDIR} ${LIBZ} + $(STRIP) --strip-unneeded ${PROG} + +LINKS= ${BINDIR}/${PROG} ${BINDIR}/boot-IP27 +LINKS+= ${BINDIR}/${PROG} ${BINDIR}/boot-IP30 + +.include -- cgit v1.2.3