4f69d01d2f
can now be developed in userspace using puffs for development (I hate emulators, they are annoyingly clumsy). To e.g. mount psshfs using puffs-on-puffs, run fs/bin/syspuffs/syspuffs with the regular mount_psshfs command line as an argument: golem> ./syspuffs /usr/sbin/mount_psshfs ftp.netbsd.org:/pub /puffs This will make the mount appear as usual, with the exception that the requests will be passed through puffs both in the kernel and userspace: ftp.netbsd.org:/pub on /puffs type puffs|p2k|puffs|psshfs
31 lines
846 B
Makefile
31 lines
846 B
Makefile
# $NetBSD: Makefile.rumpfs,v 1.8 2008/01/02 18:15:12 pooka Exp $
|
|
#
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
RUMPFSLIST= cd9660fs efs ext2fs ffs hfs lfs msdosfs ntfs syspuffs tmpfs udf
|
|
RUMPFSALL= ${RUMPFSLIST} p2k ukfs ufs
|
|
|
|
RUMPFSLIBDIR?= ${NETBSDSRCDIR}/sys/rump/fs/lib
|
|
|
|
.for var in ${RUMPFSALL}
|
|
RUMPFSLIBS+=lib${var}
|
|
.endfor
|
|
|
|
# this is a hack: PRINTOBJDIR is really expensive, so do it only when necessary
|
|
.ifndef RUMPFS_NOFSLIB
|
|
RUMPFS_WANT+=${PROG} p2k ukfs
|
|
.endif
|
|
|
|
.for var in ${RUMPFS_WANT}
|
|
.ifndef RUMPFSLIB${var:tu}OBJDIR
|
|
RUMPFSLIB${var:tu}OBJDIR != cd ${RUMPFSLIBDIR}/lib${var} && ${PRINTOBJDIR}
|
|
RUMPFSLD_${var:tu}:=-L${RUMPFSLIB${var:tu}OBJDIR} -Wl,--whole-archive \
|
|
-l${var} -Wl,--no-whole-archive
|
|
RUMPFSDP_${var:tu}:=${RUMPFSLIB${var:tu}OBJDIR}/lib${var}.a
|
|
|
|
RUMPFSLD_ALL+=${RUMPFSLD_${var:tu}}
|
|
RUMPFSDP_ALL+=${RUMPFSDP_${var:tu}}
|
|
.endif
|
|
.endfor
|