Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sandpoint/stand/altboot arrange vers.c generation t...
details: https://anonhg.NetBSD.org/src/rev/4d64a5680325
branches: trunk
changeset: 761425:4d64a5680325
user: nisimura <nisimura%NetBSD.org@localhost>
date: Thu Jan 27 04:32:49 2011 +0000
description:
arrange vers.c generation to honour MKREPRO for global build control.
diffstat:
sys/arch/sandpoint/stand/altboot/Makefile | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diffs (48 lines):
diff -r d3ff5bd8575e -r 4d64a5680325 sys/arch/sandpoint/stand/altboot/Makefile
--- a/sys/arch/sandpoint/stand/altboot/Makefile Thu Jan 27 01:01:55 2011 +0000
+++ b/sys/arch/sandpoint/stand/altboot/Makefile Thu Jan 27 04:32:49 2011 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.3 2011/01/26 13:36:49 nisimura Exp $
+# $NetBSD: Makefile,v 1.4 2011/01/27 04:32:49 nisimura Exp $
S= ${.CURDIR}/../../../..
PROG= altboot
+NOMAN= # defined
SRCS= entry.S main.c brdsetup.c pci.c devopen.c dev_net.c nif.c \
fxp.c tlp.c rge.c skg.c dsk.c pciide.c siisata.c printf.c
CLEANFILES+= vers.c vers.o ${PROG} ${PROG}.bin
@@ -14,20 +15,20 @@
CPPFLAGS+= -nostdinc -I. -I${.OBJDIR} -I${S}
DBG= -Os
+.include <bsd.own.mk>
+
# XXX SHOULD NOT NEED TO DEFINE THESE!
LIBCRT0=
LIBC=
LIBCRTBEGIN=
LIBCRTEND=
-NOMAN= # defined
STRIPFLAG=
BINMODE= 444
RELOC= 1000000
ENTRY= _start
-
.if !make(obj) && !make(clean) && !make(cleandir)
.BEGIN:
@[ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine
@@ -53,7 +54,9 @@
LIBSA= ${SALIB}
${PROG}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
- ${HOST_SH} ${S}/conf/newvers_stand.sh -KD ${.CURDIR}/version sandpoint
+ echo ${OBJS}
+ ${HOST_SH} ${S}/conf/newvers_stand.sh -K \
+ ${${MKREPRO} == "yes" :?:-D} ${.CURDIR}/version sandpoint
${CC} -c vers.c
${LD} -N -Ttext ${RELOC} -Bstatic -e ${ENTRY} -o ${PROG} \
${OBJS} vers.o ${LIBSA} ${LIBZ} ${LIBKERN}
Home |
Main Index |
Thread Index |
Old Index