3 LOADER_CD9660_SUPPORT?= yes
4 LOADER_EXT2FS_SUPPORT?= no
5 LOADER_MSDOS_SUPPORT?= no
6 LOADER_UFS_SUPPORT?= yes
7 LOADER_NET_SUPPORT?= yes
8 LOADER_NFS_SUPPORT?= yes
9 LOADER_TFTP_SUPPORT?= no
10 LOADER_GZIP_SUPPORT?= yes
11 LOADER_BZIP2_SUPPORT?= no
13 .include <bsd.init.mk>
16 NEWVERSWHAT= "Open Firmware loader" ${MACHINE_ARCH}
19 # Architecture-specific loader code
20 SRCS= conf.c vers.c main.c elf_freebsd.c ppc64_elf_freebsd.c start.c
23 .include "${BOOTSRC}/fdt.mk"
24 .if ${MK_FDT} == "yes"
28 HELP_FILES= ${FDTSRC}/help.fdt
30 # Always add MI sources
31 .include "${BOOTSRC}/loader.mk"
33 .PATH: ${SYSDIR}/libkern
35 # load address. set in linker script
37 CFLAGS+= -DRELOC=${RELOC}
39 LDFLAGS= -nostdlib -static -T ${.CURDIR}/ldscript.powerpc
41 # Open Firmware standalone support library
42 LIBOFW= ${BOOTOBJ}/ofw/libofw/libofw.a
43 CFLAGS+= -I${BOOTSRC}/ofw/libofw
45 DPADD= ${LDR_INTERP} ${LIBOFW} ${LIBFDT} ${LIBSA}
46 LDADD= ${LDR_INTERP} ${LIBOFW} ${LIBFDT} ${LIBSA}
48 .include <bsd.prog.mk>