Subject: Re: questions about converting sparc to MI installboot(8)
To: Paul Kranenburg <pk@cs.few.eur.nl>
From: Luke Mewburn <lukem@wasabisystems.com>
List: port-sparc
Date: 05/07/2002 19:37:59
On Tue, May 07, 2002 at 11:00:39AM +0200, Paul Kranenburg wrote:
  | > So, the new installboot needs bootxx built with something like:
  | > 	${PROG}: ${OBJS} ${LIBKERN} ${LIBSA}
  | > 		${LD} -o ${.TARGET}.sym ${LINKFLAGS} ${OBJS} ${LIBSA} ${LIBKERN}
  | > 		@${SIZE} ${.TARGET}.sym
  | > 		${OBJCOPY} -O binary ${.TARGET}.sym ${.TARGET}.bin
  | > 		(printf ${SUN_MAGIC_HEADER}; cat ${.TARGET}.bin ) > ${.TARGET}
  | 
  | I'm patching in the header in arch/sparc.c currently (like the old
  | installboot program). I'm also thinking of defining an `-o' option
  | to accommodate Javastation bootblocks which currently don't grok
  | the tweaked a.out header.

Yes, patching inside installboot makes sense, with a -o option to
disable (or enable, depending on what you pick for the default) this
option.

Luke.