Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src As per Chris G. Demetriou <cgd%netbsd.org@localhost> don't install
details: https://anonhg.NetBSD.org/src/rev/5ef5240e5c3f
branches: trunk
changeset: 479804:5ef5240e5c3f
user: frueauf <frueauf%NetBSD.org@localhost>
date: Tue Dec 21 21:06:26 1999 +0000
description:
As per Chris G. Demetriou <cgd%netbsd.org@localhost> don't install
loadfile_machdep.h into /usr/include/hp300/, instead create a
link for machine and hp300 in ${.OBJDIR} like
sys/arch/alpha/stand/Makefile.buildboot does for alpha.
diffstat:
distrib/sets/lists/comp/md.hp300 | 3 +--
sys/arch/hp300/include/Makefile | 8 ++++----
sys/arch/hp300/stand/Makefile.buildboot | 16 ++++++++++++++--
3 files changed, 19 insertions(+), 8 deletions(-)
diffs (70 lines):
diff -r d0c20804b1ca -r 5ef5240e5c3f distrib/sets/lists/comp/md.hp300
--- a/distrib/sets/lists/comp/md.hp300 Tue Dec 21 18:45:52 1999 +0000
+++ b/distrib/sets/lists/comp/md.hp300 Tue Dec 21 21:06:26 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.hp300,v 1.33 1999/12/20 20:58:08 frueauf Exp $
+# $NetBSD: md.hp300,v 1.34 1999/12/21 21:06:26 frueauf Exp $
./usr/include/hp300
./usr/include/hp300/_G_config.h
./usr/include/hp300/ansi.h
@@ -22,7 +22,6 @@
./usr/include/hp300/intr.h
./usr/include/hp300/kcore.h
./usr/include/hp300/limits.h
-./usr/include/hp300/loadfile_machdep.h
./usr/include/hp300/param.h
./usr/include/hp300/pcb.h
./usr/include/hp300/pmap.h
diff -r d0c20804b1ca -r 5ef5240e5c3f sys/arch/hp300/include/Makefile
--- a/sys/arch/hp300/include/Makefile Tue Dec 21 18:45:52 1999 +0000
+++ b/sys/arch/hp300/include/Makefile Tue Dec 21 21:06:26 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 1999/12/20 20:45:56 frueauf Exp $
+# $NetBSD: Makefile,v 1.7 1999/12/21 21:06:29 frueauf Exp $
KDIR= /sys/arch/hp300/include
INCSDIR= /usr/include/hp300
@@ -6,8 +6,8 @@
INCS= ansi.h aout_machdep.h asm.h autoconf.h bswap.h bus.h cdefs.h cpu.h \
db_machdep.h disklabel.h elf_machdep.h endian.h float.h frame.h \
hp300spu.h hpux_machdep.h ieee.h ieeefp.h intr.h kcore.h limits.h \
- loadfile_machdep.h param.h pcb.h pmap.h proc.h profile.h psl.h pte.h \
- ptrace.h reg.h setjmp.h signal.h stdarg.h svr4_machdep.h trap.h \
- types.h varargs.h vmparam.h
+ param.h pcb.h pmap.h proc.h profile.h psl.h pte.h ptrace.h reg.h \
+ setjmp.h signal.h stdarg.h svr4_machdep.h trap.h types.h varargs.h \
+ vmparam.h
.include <bsd.kinc.mk>
diff -r d0c20804b1ca -r 5ef5240e5c3f sys/arch/hp300/stand/Makefile.buildboot
--- a/sys/arch/hp300/stand/Makefile.buildboot Tue Dec 21 18:45:52 1999 +0000
+++ b/sys/arch/hp300/stand/Makefile.buildboot Tue Dec 21 21:06:26 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.buildboot,v 1.9 1999/12/14 21:38:31 thorpej Exp $
+# $NetBSD: Makefile.buildboot,v 1.10 1999/12/21 21:06:33 frueauf Exp $
S= ${.CURDIR}/../../../..
@@ -11,9 +11,21 @@
STRIPFLAG=
BINMODE= 444
+.PHONY: machine-links
+beforedepend: machine-links
+# ${MACHINE} then ${MACHINE_ARCH}
+machine-links:
+ -rm -f machine && \
+ ln -s $S/arch/hp300/include machine
+ -rm -f hp300 && \
+ ln -s $S/arch/hp300/include hp300
+CLEANFILES+=machine hp300
+
+all: machine-links ${PROG}
+
CLEANFILES+= ${PROGAOUT} vers.c vers.o
-CPPFLAGS+= -I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
+CPPFLAGS+= -I${.CURDIR}/../../.. -I${.CURDIR}/../../../.. -I${.OBJDIR}
CFLAGS= -Os -msoft-float
CPPFLAGS+= -DBOOT_AOUT
Home |
Main Index |
Thread Index |
Old Index