1999-11-14 13:54:44 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
.if ${MK_FORTH} != "no"
|
2004-01-27 22:15:03 +00:00
|
|
|
# Build the add-in FORTH interpreter.
|
1998-11-03 06:11:35 +00:00
|
|
|
SUBDIR+= ficl
|
2003-02-13 04:35:04 +00:00
|
|
|
.endif
|
1998-11-03 06:11:35 +00:00
|
|
|
|
2004-11-23 05:52:00 +00:00
|
|
|
# Build EFI library.
|
2008-12-14 02:57:41 +00:00
|
|
|
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE} == "i386" || ${MACHINE_ARCH} == "ia64"
|
2004-11-23 05:52:00 +00:00
|
|
|
SUBDIR+= efi
|
|
|
|
.endif
|
|
|
|
|
2004-08-16 15:45:27 +00:00
|
|
|
# Build Open Firmware library.
|
2002-03-28 01:37:10 +00:00
|
|
|
.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
|
2000-11-10 06:29:42 +00:00
|
|
|
SUBDIR+= ofw
|
|
|
|
.endif
|
|
|
|
|
2008-02-17 20:34:35 +00:00
|
|
|
# Build U-Boot library.
|
2008-10-14 10:11:14 +00:00
|
|
|
.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "arm"
|
2008-02-17 20:34:35 +00:00
|
|
|
SUBDIR+= uboot
|
|
|
|
.endif
|
|
|
|
|
Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes.
This bring huge amount of changes, I'll enumerate only user-visible changes:
- Delegated Administration
Allows regular users to perform ZFS operations, like file system
creation, snapshot creation, etc.
- L2ARC
Level 2 cache for ZFS - allows to use additional disks for cache.
Huge performance improvements mostly for random read of mostly
static content.
- slog
Allow to use additional disks for ZFS Intent Log to speed up
operations like fsync(2).
- vfs.zfs.super_owner
Allows regular users to perform privileged operations on files stored
on ZFS file systems owned by him. Very careful with this one.
- chflags(2)
Not all the flags are supported. This still needs work.
- ZFSBoot
Support to boot off of ZFS pool. Not finished, AFAIK.
Submitted by: dfr
- Snapshot properties
- New failure modes
Before if write requested failed, system paniced. Now one
can select from one of three failure modes:
- panic - panic on write error
- wait - wait for disk to reappear
- continue - serve read requests if possible, block write requests
- Refquota, refreservation properties
Just quota and reservation properties, but don't count space consumed
by children file systems, clones and snapshots.
- Sparse volumes
ZVOLs that don't reserve space in the pool.
- External attributes
Compatible with extattr(2).
- NFSv4-ACLs
Not sure about the status, might not be complete yet.
Submitted by: trasz
- Creation-time properties
- Regression tests for zpool(8) command.
Obtained from: OpenSolaris
2008-11-17 20:49:29 +00:00
|
|
|
.if defined(LOADER_ZFS_SUPPORT)
|
|
|
|
SUBDIR+= zfs
|
|
|
|
.endif
|
|
|
|
|
2004-01-27 22:15:03 +00:00
|
|
|
# Pick the machine-dependent subdir based on the target architecture.
|
2008-07-23 07:23:33 +00:00
|
|
|
ADIR= ${MACHINE:S/amd64/i386/:S/sun4v/sparc64/}
|
|
|
|
.if exists(${.CURDIR}/${ADIR}/.)
|
|
|
|
SUBDIR+= ${ADIR}
|
|
|
|
.endif
|
1998-08-21 03:17:42 +00:00
|
|
|
|
|
|
|
.include <bsd.subdir.mk>
|