2008-02-16 22:40:55 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2017-11-08 14:44:45 +00:00
|
|
|
LOADER_UFS_SUPPORT?= yes
|
|
|
|
LOADER_CD9660_SUPPORT?= no
|
|
|
|
LOADER_EXT2FS_SUPPORT?= no
|
|
|
|
LOADER_NET_SUPPORT?= yes
|
|
|
|
LOADER_NFS_SUPPORT?= yes
|
|
|
|
LOADER_TFTP_SUPPORT?= no
|
|
|
|
LOADER_GZIP_SUPPORT?= no
|
|
|
|
LOADER_BZIP2_SUPPORT?= no
|
|
|
|
|
2017-10-30 03:12:28 +00:00
|
|
|
.include <bsd.init.mk>
|
2010-06-13 12:46:32 +00:00
|
|
|
|
2019-02-18 01:57:47 +00:00
|
|
|
BINDIR= /boot/uboot
|
2008-02-23 19:45:20 +00:00
|
|
|
PROG= ubldr
|
2008-02-16 22:40:55 +00:00
|
|
|
NEWVERSWHAT= "U-Boot loader" ${MACHINE_ARCH}
|
|
|
|
INSTALLFLAGS= -b
|
|
|
|
|
|
|
|
# Architecture-specific loader code
|
2018-12-10 01:52:39 +00:00
|
|
|
SRCS= start.S conf.c vers.c ppc64_elf_freebsd.c
|
2010-07-12 00:49:22 +00:00
|
|
|
SRCS+= ucmpdi2.c
|
2008-02-16 22:40:55 +00:00
|
|
|
|
|
|
|
# Always add MI sources
|
2017-10-30 03:12:28 +00:00
|
|
|
.include "${BOOTSRC}/loader.mk"
|
|
|
|
.PATH: ${SYSDIR}/libkern
|
2008-02-16 22:40:55 +00:00
|
|
|
|
|
|
|
LDFLAGS= -nostdlib -static -T ${.CURDIR}/ldscript.powerpc
|
|
|
|
|
2017-10-30 03:12:28 +00:00
|
|
|
.include "${BOOTSRC}/uboot.mk"
|
2008-02-16 22:40:55 +00:00
|
|
|
|
2018-02-02 15:40:49 +00:00
|
|
|
DPADD= ${LDR_INTERP} ${LIBUBOOT} ${LIBFDT} ${LIBUBOOT_FDT} ${LIBSA}
|
|
|
|
LDADD= ${LDR_INTERP} ${LIBUBOOT} ${LIBFDT} ${LIBUBOOT_FDT} ${LIBSA}
|
2008-02-16 22:40:55 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|