3 LOADER_MSDOS_SUPPORT?= yes
4 LOADER_UFS_SUPPORT?= yes
5 LOADER_CD9660_SUPPORT?= no
6 LOADER_EXT2FS_SUPPORT?= no
11 SHLIB_NAME= userboot.so
25 SRCS+= elf32_freebsd.c
26 SRCS+= elf64_freebsd.c
29 SRCS+= userboot_cons.c
30 SRCS+= userboot_disk.c
34 CFLAGS+= -I${BOOTSRC}/userboot
36 CWARNFLAGS.main.c += -Wno-implicit-function-declaration
38 LDFLAGS+= -nostdlib -Wl,-Bsymbolic
40 NEWVERSWHAT= "User boot" ${MACHINE_CPUARCH}
43 CFLAGS+= -DUSERBOOT_ZFS_SUPPORT
44 LIBZFSBOOT= ${BOOTOBJ}/zfs/libzfsboot.a
48 # Always add MI sources
49 .include "${BOOTSRC}/loader.mk"
51 DPADD+= ${LDR_INTERP} ${LIBZFSBOOT} ${LIBSA}
52 LDADD+= ${LDR_INTERP} ${LIBZFSBOOT} ${LIBSA}