Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/bioscall Partial fix for PR#14946. Make sure x...



details:   https://anonhg.NetBSD.org/src/rev/8bb9a1e1acf7
branches:  trunk
changeset: 556721:8bb9a1e1acf7
user:      jmc <jmc%NetBSD.org@localhost>
date:      Thu Dec 25 21:02:58 2003 +0000

description:
Partial fix for PR#14946. Make sure x86 symlinks exist also

diffstat:

 sys/arch/i386/bioscall/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r fb785b048c87 -r 8bb9a1e1acf7 sys/arch/i386/bioscall/Makefile
--- a/sys/arch/i386/bioscall/Makefile   Thu Dec 25 19:01:35 2003 +0000
+++ b/sys/arch/i386/bioscall/Makefile   Thu Dec 25 21:02:58 2003 +0000
@@ -1,9 +1,10 @@
-#      $NetBSD: Makefile,v 1.13 2003/10/26 07:25:36 lukem Exp $
+#      $NetBSD: Makefile,v 1.14 2003/12/25 21:02:58 jmc Exp $
 
 CPPFLAGS=      ${APMCPPFLAGS}
 KSRC=${.CURDIR}/../../..
 ARCHSRC=${.CURDIR}/../..
 I386=${KSRC}/arch/i386
+X86=${KSRC}/arch/x86
 CPPFLAGS+=-I${ARCHSRC} -I${KSRC} -I${.CURDIR} -I${.OBJDIR} -D_LKM
 
 SRCS=  biostramp.S
@@ -20,6 +21,9 @@
 machine:
        @rm -f machine && ln -s ${I386}/include machine
 
+x86:
+       @rm -f x86 && ln -s ${X86}/include x86
+
 .include <bsd.own.mk>
 
 .if ${OBJECT_FMT} == "ELF"
@@ -40,7 +44,7 @@
 biostramp.obj: ${OBJS} ${DEPS}
        ${LD} -Bstatic -N -Ttext 0 -e do_bios_call -o $@ $(OBJS)
 
-assym.h: machine ${KSRC}/kern/genassym.sh genassym.cf
+assym.h: machine x86 ${KSRC}/kern/genassym.sh genassym.cf
        ${HOST_SH} ${KSRC}/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
            < ${.CURDIR}/genassym.cf > assym.h.tmp && \
        mv -f assym.h.tmp assym.h



Home | Main Index | Thread Index | Old Index