sys/cddl/*: ifdef in defined(__DragonFly__) also

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
sys/cddl/compat/opensolaris: Stub out (WIP)

Stub out function so we can continue to build..

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
sys/cddl/compat/opensolaris/sys/kmem.h: stub out uma_zone_t

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
etc/defaults/make.conf: NO_PROFILE breaks gcc builds

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
sys/cddl/Makefile: We use sha2.c from sys/crypto/sha2

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Patch by dillion

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
sys/cddl/*/fs/zfs/dnode.c: zrlock_t has no member when NO_ZFSDEBUG

error: 'zrlock_t' has no member named 'zr_owner'

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
cddl/Makefile: usr.sbin - not yet

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
cdd/*/Makefile: dont try and link in geom

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
cddl/contrib/opensolaris/lib/libzpool: missing sys/thread.h include

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
stub out some includes

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
sys/cddl/Makefile: keep build product intermediates

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
fs/zfs/spa.c: remove an unused label out:

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
stub out some more includes

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>