Source-Changes-HG archive

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

[src/trunk]: src/tools use reachover relative paths in compat include files i...



details:   https://anonhg.NetBSD.org/src/rev/eb617c8220c7
branches:  trunk
changeset: 547131:eb617c8220c7
user:      dbj <dbj%NetBSD.org@localhost>
date:      Wed May 14 00:30:26 2003 +0000

description:
use reachover relative paths in compat include files instead of
symlinking ufs include files into installboot and makefs tool objdirs
reviewed by lukem and thorpej on tech-toolchain

diffstat:

 tools/compat/ufs/ffs/ffs_extern.h |   3 +++
 tools/compat/ufs/ffs/fs.h         |   3 +++
 tools/compat/ufs/ufs/dinode.h     |   3 +++
 tools/compat/ufs/ufs/dir.h        |   3 +++
 tools/compat/ufs/ufs/ufs_bswap.h  |   3 +++
 tools/installboot/Makefile        |  10 +---------
 tools/makefs/Makefile             |  10 +---------
 7 files changed, 17 insertions(+), 18 deletions(-)

diffs (79 lines):

diff -r 7242c19c8c96 -r eb617c8220c7 tools/compat/ufs/ffs/ffs_extern.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/compat/ufs/ffs/ffs_extern.h Wed May 14 00:30:26 2003 +0000
@@ -0,0 +1,3 @@
+/*     $NetBSD: ffs_extern.h,v 1.1 2003/05/14 00:30:26 dbj Exp $       */
+
+#include "../../../../sys/ufs/ffs/ffs_extern.h"
diff -r 7242c19c8c96 -r eb617c8220c7 tools/compat/ufs/ffs/fs.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/compat/ufs/ffs/fs.h Wed May 14 00:30:26 2003 +0000
@@ -0,0 +1,3 @@
+/*     $NetBSD: fs.h,v 1.1 2003/05/14 00:30:26 dbj Exp $       */
+
+#include "../../../../sys/ufs/ffs/fs.h"
diff -r 7242c19c8c96 -r eb617c8220c7 tools/compat/ufs/ufs/dinode.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/compat/ufs/ufs/dinode.h     Wed May 14 00:30:26 2003 +0000
@@ -0,0 +1,3 @@
+/*     $NetBSD: dinode.h,v 1.1 2003/05/14 00:30:26 dbj Exp $   */
+
+#include "../../../../sys/ufs/ufs/dinode.h"
diff -r 7242c19c8c96 -r eb617c8220c7 tools/compat/ufs/ufs/dir.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/compat/ufs/ufs/dir.h        Wed May 14 00:30:26 2003 +0000
@@ -0,0 +1,3 @@
+/*     $NetBSD: dir.h,v 1.1 2003/05/14 00:30:27 dbj Exp $      */
+
+#include "../../../../sys/ufs/ufs/dir.h"
diff -r 7242c19c8c96 -r eb617c8220c7 tools/compat/ufs/ufs/ufs_bswap.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/compat/ufs/ufs/ufs_bswap.h  Wed May 14 00:30:26 2003 +0000
@@ -0,0 +1,3 @@
+/*     $NetBSD: ufs_bswap.h,v 1.1 2003/05/14 00:30:27 dbj Exp $        */
+
+#include "../../../../sys/ufs/ufs/ufs_bswap.h"
diff -r 7242c19c8c96 -r eb617c8220c7 tools/installboot/Makefile
--- a/tools/installboot/Makefile        Wed May 14 00:24:06 2003 +0000
+++ b/tools/installboot/Makefile        Wed May 14 00:30:26 2003 +0000
@@ -1,17 +1,9 @@
-#      $NetBSD: Makefile,v 1.7 2002/12/08 20:20:01 thorpej Exp $
+#      $NetBSD: Makefile,v 1.8 2003/05/14 00:30:27 dbj Exp $
 
 HOSTPROGNAME=  ${_TOOL_PREFIX}installboot
 HOST_SRCDIR=   usr.sbin/installboot
 
-DPSRCS+=       ufs.stamp
 HOST_CPPFLAGS+=        -I. -I${.CURDIR} -I${.CURDIR}/../mips-elf2ecoff
-CLEANFILES+=   ufs
 
 .include "${.CURDIR}/../Makefile.host"
 
-$(OBJS): ufs.stamp
-
-ufs.stamp:
-       -rm -f ufs
-       ln -f -s ${.CURDIR}/../../sys/ufs ufs
-       @touch $@
diff -r 7242c19c8c96 -r eb617c8220c7 tools/makefs/Makefile
--- a/tools/makefs/Makefile     Wed May 14 00:24:06 2003 +0000
+++ b/tools/makefs/Makefile     Wed May 14 00:30:26 2003 +0000
@@ -1,17 +1,9 @@
-#      $NetBSD: Makefile,v 1.6 2002/12/08 20:20:02 thorpej Exp $
+#      $NetBSD: Makefile,v 1.7 2003/05/14 00:30:27 dbj Exp $
 
 HOSTPROGNAME=  ${_TOOL_PREFIX}makefs
 HOST_SRCDIR=   usr.sbin/makefs
 
-DPSRCS+=       ufs.stamp
 HOST_CPPFLAGS+=        -I.
-CLEANFILES+=   ufs
 
 .include "${.CURDIR}/../Makefile.host"
 
-$(OBJS): ufs.stamp
-
-ufs.stamp:
-       -rm -f ufs
-       ln -f -s ${.CURDIR}/../../sys/ufs ufs
-       @touch $@



Home | Main Index | Thread Index | Old Index