1# $FreeBSD$ 2 3LOADER_DISK_SUPPORT?= yes 4LOADER_CD9660_SUPPORT?= yes 5LOADER_MSDOS_SUPPORT?= no 6LOADER_EXT2FS_SUPPORT?= yes 7LOADER_UFS_SUPPORT?= yes 8LOADER_NET_SUPPORT?= yes 9LOADER_NFS_SUPPORT?= yes 10LOADER_TFTP_SUPPORT?= no 11LOADER_GZIP_SUPPORT?= yes 12LOADER_BZIP2_SUPPORT?= no 13 14.include <bsd.init.mk> 15 16PROG= loader.kboot 17NEWVERSWHAT= "kboot loader" ${MACHINE_ARCH} 18INSTALLFLAGS= -b 19 20# Architecture-specific loader code 21SRCS= crt1.c vers.c main.c host_syscalls.c hostcons.c hostdisk.c kbootfdt.c gfx_fb_stub.c 22 23CFLAGS.gfx_fb_stub.c += -I${SRCTOP}/contrib/pnglite -I${SRCTOP}/sys/teken 24 25.include "${BOOTSRC}/fdt.mk" 26 27.PATH: ${.CURDIR}/arch/${MACHINE_ARCH} 28.include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc" 29 30# Always add MI sources 31.include "${BOOTSRC}/loader.mk" 32.PATH: ${SYSDIR}/libkern 33CFLAGS+= -I${.CURDIR} -I${.CURDIR}/arch/${MACHINE_ARCH} 34 35CFLAGS+= -Wall 36 37DPADD= ${LDR_INTERP} ${LIBOFW} ${LIBFDT} ${LIBSA} 38LDADD= ${LDR_INTERP} ${LIBOFW} ${LIBFDT} ${LIBSA} 39 40.include <bsd.prog.mk> 41