f8b02b9cdf
This is based on the newfs(8) command for ffs, but most ext2fs specific part is written from scratch. Tested on alpha, cobalt, i386 and sgimips with some disks and vnd(4), and at least cobalt's firmware can load boot files from an ext2fs E2FS_REV0 partition created by this native newfs_ext2fs(8) command. Closes PR bin/16175.
17 lines
386 B
Makefile
17 lines
386 B
Makefile
# $NetBSD: Makefile,v 1.1 2007/11/17 16:50:25 tsutsui Exp $
|
|
# @(#)Makefile 8.2 (Berkeley) 3/27/94
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= newfs_ext2fs
|
|
SRCS= newfs_ext2fs.c mke2fs.c ext2fs_bswap.c partutil.c
|
|
MAN= newfs_ext2fs.8
|
|
|
|
FSCK=${NETBSDSRCDIR}/sbin/fsck
|
|
CPPFLAGS+=-I${.CURDIR} -I${FSCK}
|
|
DPADD+= ${LIBUTIL}
|
|
LDADD+= -lutil
|
|
.PATH: ${NETBSDSRCDIR}/sys/ufs/ext2fs ${FSCK}
|
|
|
|
.include <bsd.prog.mk>
|