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