Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm26/stand Don't force booters to have srt0.S at t...



details:   https://anonhg.NetBSD.org/src/rev/dffb676fee33
branches:  trunk
changeset: 513522:dffb676fee33
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Thu Aug 02 23:38:04 2001 +0000

description:
Don't force booters to have srt0.S at the start if they don't want to.
Also allow them to override the filetype they end up with.

diffstat:

 sys/arch/arm26/stand/Makefile.buildboot |  16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diffs (43 lines):

diff -r df485069fd90 -r dffb676fee33 sys/arch/arm26/stand/Makefile.buildboot
--- a/sys/arch/arm26/stand/Makefile.buildboot   Thu Aug 02 23:35:00 2001 +0000
+++ b/sys/arch/arm26/stand/Makefile.buildboot   Thu Aug 02 23:38:04 2001 +0000
@@ -1,17 +1,17 @@
-#      $NetBSD: Makefile.buildboot,v 1.3 2001/07/28 12:44:54 bjh21 Exp $
+#      $NetBSD: Makefile.buildboot,v 1.4 2001/08/02 23:38:04 bjh21 Exp $
 
 S?=    ${.CURDIR}/../../../..
 
 .PATH: ${.CURDIR}/../lib
 
-COMMONSOURCE=  srt0.S
-
-SRCS=  ${COMMONSOURCE} ${PROGSOURCE}
+SRCS=  ${PROGSOURCE}
 MKMAN=no
 BINDIR=/usr/mdec
 BINMODE=444
 FILESDIR=/usr/mdec
 
+RISCOSTYPE ?= ff8
+
 SRCS+=         vers.c
 CLEANFILES+=   vers.c
 .PHONY: vers.c
@@ -56,13 +56,13 @@
            ${LIBSA} ${LIBZ} ${LIBKERN} ${LIBRISCOS} ${LIBSA}
        ${SIZE} ${.TARGET}
 
-${PROG},ff8: ${PROG}
+${PROG},${RISCOSTYPE}: ${PROG}
        ${OBJCOPY} --output-target=binary ${.ALLSRC} ${.TARGET}
 
-all: ${PROG},ff8
+all: ${PROG},${RISCOSTYPE}
 
-CLEANFILES+=   ${PROG},ff8
-FILES+=                ${PROG},ff8
+CLEANFILES+=   ${PROG},${RISCOSTYPE}
+FILES+=                ${PROG},${RISCOSTYPE}
 
 .if !make(obj)
 .BEGIN:



Home | Main Index | Thread Index | Old Index