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 conf.c vers.c main.c host_syscalls.c hostcons.c hostdisk.c kbootfdt.c gfx_fb_stub.c 22SRCS+= init.c 23SRCS+= termios.c 24 25CFLAGS.gfx_fb_stub.c += -I${SRCTOP}/contrib/pnglite -I${SRCTOP}/sys/teken 26 27.include "${BOOTSRC}/fdt.mk" 28 29.PATH: ${.CURDIR}/arch/${MACHINE_ARCH} 30.include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc" 31 32# Always add MI sources 33.include "${BOOTSRC}/loader.mk" 34.PATH: ${SYSDIR}/libkern 35CFLAGS+= -I${.CURDIR} -I${.CURDIR}/arch/${MACHINE_ARCH} 36 37CFLAGS+= -Wall 38 39DPADD= ${LDR_INTERP} ${LIBOFW} ${LIBFDT} ${LIBSA} 40LDADD= ${LDR_INTERP} ${LIBOFW} ${LIBFDT} ${LIBSA} 41 42.include <bsd.prog.mk> 43