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>
18 NEWVERSWHAT= "Open Firmware loader" ${MACHINE_ARCH}
21 # Architecture-specific loader code
22 SRCS= conf.c metadata.c vers.c start.c
25 .include "${BOOTSRC}/fdt.mk"
26 .if ${MK_FDT} == "yes"
30 HELP_FILES= ${FDTSRC}/help.fdt
32 # Always add MI sources
33 .include "${BOOTSRC}/loader.mk"
35 .PATH: ${SYSDIR}/libkern
37 # load address. set in linker script
39 CFLAGS+= -DRELOC=${RELOC}
41 LDFLAGS= -nostdlib -static -T ${.CURDIR}/ldscript.powerpc
43 # Pull in common loader code
44 .PATH: ${BOOTSRC}/ofw/common
45 .include "${BOOTSRC}/ofw/common/Makefile.inc"
47 # Open Firmware standalone support library
48 LIBOFW= ${BOOTOBJ}/ofw/libofw/libofw.a
49 CFLAGS+= -I${BOOTSRC}/ofw/libofw
51 DPADD= ${LIBFICL} ${LIBOFW} ${LIBFDT} ${LIBSA}
52 LDADD= ${LIBFICL} ${LIBOFW} ${LIBFDT} ${LIBSA}
54 .include <bsd.prog.mk>