Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/makefs Define "USE_V7FS" in the makefile of the dir...
details: https://anonhg.NetBSD.org/src/rev/0be03d13b3db
branches: trunk
changeset: 767450:0be03d13b3db
user: tron <tron%NetBSD.org@localhost>
date: Mon Jul 18 21:22:55 2011 +0000
description:
Define "USE_V7FS" in the makefile of the directory with the actual source.
diffstat:
usr.sbin/makefs/Makefile | 6 ++++--
usr.sbin/makefs/v7fs/Makefile.inc | 4 ++--
2 files changed, 6 insertions(+), 4 deletions(-)
diffs (38 lines):
diff -r 1e44a381c4ad -r 0be03d13b3db usr.sbin/makefs/Makefile
--- a/usr.sbin/makefs/Makefile Mon Jul 18 21:00:28 2011 +0000
+++ b/usr.sbin/makefs/Makefile Mon Jul 18 21:22:55 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2011/07/18 17:15:51 tron Exp $
+# $NetBSD: Makefile,v 1.28 2011/07/18 21:22:55 tron Exp $
#
WARNS?= 3 # XXX -Wsign-compare
@@ -24,7 +24,9 @@
.include "${.CURDIR}/ffs/Makefile.inc"
.if !defined(HOSTPROG)
-SRCS+= v7fs.c
+SRCS+= v7fs.c
+CPPFLAGS+= -DUSE_V7FS
+
.include "${.CURDIR}/v7fs/Makefile.inc"
DPADD+= ${LIBUTIL}
diff -r 1e44a381c4ad -r 0be03d13b3db usr.sbin/makefs/v7fs/Makefile.inc
--- a/usr.sbin/makefs/v7fs/Makefile.inc Mon Jul 18 21:00:28 2011 +0000
+++ b/usr.sbin/makefs/v7fs/Makefile.inc Mon Jul 18 21:22:55 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.2 2011/07/18 17:15:07 tron Exp $
+# $NetBSD: Makefile.inc,v 1.3 2011/07/18 21:22:55 tron Exp $
#
V7FS= ${NETBSDSRCDIR}/sys/fs/v7fs
@@ -7,7 +7,7 @@
.PATH: ${.CURDIR}/v7fs ${V7FS} ${NEWFS} ${FSCK}
-CPPFLAGS+= -DUSE_V7FS -DV7FS_EI -I${V7FS} -I${NEWFS} -I${FSCK}
+CPPFLAGS+= -DV7FS_EI -I${V7FS} -I${NEWFS} -I${FSCK}
SRCS += v7fs_endian.c v7fs_superblock.c v7fs_superblock_util.c v7fs_inode.c \
v7fs_inode_util.c v7fs_datablock.c v7fs_dirent.c v7fs_io.c v7fs_file.c \
Home |
Main Index |
Thread Index |
Old Index