Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mmeye/stand/bootelf Since loadfile_machdep.h isn't ...



details:   https://anonhg.NetBSD.org/src/rev/e7cef4883ba3
branches:  trunk
changeset: 526362:e7cef4883ba3
user:      wiz <wiz%NetBSD.org@localhost>
date:      Thu May 02 18:30:46 2002 +0000

description:
Since loadfile_machdep.h isn't installed anymore, link the mmeye include
directory into ${.OBJDIR} and find the header file there.

diffstat:

 sys/arch/mmeye/stand/bootelf/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 02d3b9bb1403 -r e7cef4883ba3 sys/arch/mmeye/stand/bootelf/Makefile
--- a/sys/arch/mmeye/stand/bootelf/Makefile     Thu May 02 18:20:58 2002 +0000
+++ b/sys/arch/mmeye/stand/bootelf/Makefile     Thu May 02 18:30:46 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2001/12/12 01:49:46 tv Exp $
+#      $NetBSD: Makefile,v 1.6 2002/05/02 18:30:46 wiz Exp $
 
 PROG= bootelf
 SRCS= boot.c byteorder.c loadfile.c loadfile_elf32.c
@@ -8,7 +8,13 @@
 
 .PATH: ${LIBSA}
 
-CPPFLAGS+= -I${LIBSA}
+CPPFLAGS+= -I${LIBSA} -I${.OBJDIR}
 LDSTATIC?= -static
 
+machine::
+       -rm -f $@
+       ln -s ${.CURDIR}/../../../../arch/${MACHINE}/include $@
+
+${PROG}: ${OBJS} machine
+
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index