fix previous and only force the failure if reloc2bb already failed.
This commit is contained in:
parent
9474f05d3b
commit
e3166ce34c
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.45 2011/07/11 01:24:34 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.46 2011/07/12 03:09:03 mrg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.include <bsd.sys.mk> # for HOST_SH
|
||||
|
@ -98,7 +98,7 @@ CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
|
|||
.S.o: ; ${CC} ${CAFLAGS} ${COPTS} -x assembler-with-cpp -o $@ -c $<
|
||||
|
||||
boot.amiga: x.out
|
||||
${RELOC2BB} -S x.out $@ || ${NM} -u x.out && false
|
||||
${RELOC2BB} -S x.out $@ || (${NM} -u x.out && false)
|
||||
|
||||
x.out: xxstart.o libboot.a ${LIBZ}
|
||||
${LD} ${LDFLAGS} -r -dc -e start -o $@ $>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.16 2011/07/11 01:24:34 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.17 2011/07/12 03:09:03 mrg Exp $
|
||||
|
||||
### what we need:
|
||||
|
||||
|
@ -73,10 +73,10 @@ DEFS+= -D__daddr_t=int32_t
|
|||
.S.o: ; ${CC} ${CAFLAGS} ${COPTS} -x assembler-with-cpp -o $@ -c $<
|
||||
|
||||
bootxx_ffs: x.out
|
||||
${RELOC2BB} x.out $@ || ${NM} -u x.out && false
|
||||
${RELOC2BB} x.out $@ || (${NM} -u x.out && false)
|
||||
|
||||
bootxx_fd: f.out
|
||||
${RELOC2BB} -F f.out $@ || ${NM} -u f.out && false
|
||||
${RELOC2BB} -F f.out $@ || (${NM} -u f.out && false)
|
||||
|
||||
x.out: xxstart.o libboot.a
|
||||
${LD} ${LDFLAGS} -r -dc -e _start -o $@ $>
|
||||
|
|
Loading…
Reference in New Issue