]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - stand/powerpc/uboot/Makefile
OpenZFS: MFV 2.0-rc3-gfc5966
[FreeBSD/FreeBSD.git] / stand / powerpc / uboot / Makefile
1 # $FreeBSD$
2
3 LOADER_UFS_SUPPORT?=    yes
4 LOADER_CD9660_SUPPORT?= no
5 LOADER_EXT2FS_SUPPORT?= no
6 LOADER_NET_SUPPORT?=    yes
7 LOADER_NFS_SUPPORT?=    yes
8 LOADER_TFTP_SUPPORT?=   no
9 LOADER_GZIP_SUPPORT?=   no
10 LOADER_BZIP2_SUPPORT?=  no
11
12 .include <bsd.init.mk>
13
14 BINDIR=         /boot/uboot
15 PROG=           ubldr
16 NEWVERSWHAT=    "U-Boot loader" ${MACHINE_ARCH}
17 INSTALLFLAGS=   -b
18
19 # Architecture-specific loader code
20 SRCS=           start.S conf.c vers.c ppc64_elf_freebsd.c
21 SRCS+=          ucmpdi2.c
22
23 # Always add MI sources
24 .include        "${BOOTSRC}/loader.mk"
25 .PATH:          ${SYSDIR}/libkern
26
27 LDFLAGS=        -nostdlib -static -T ${.CURDIR}/ldscript.powerpc
28
29 .include        "${BOOTSRC}/uboot.mk"
30
31 DPADD=          ${LDR_INTERP} ${LIBUBOOT} ${LIBFDT} ${LIBUBOOT_FDT} ${LIBSA}
32 LDADD=          ${LDR_INTERP} ${LIBUBOOT} ${LIBFDT} ${LIBUBOOT_FDT} ${LIBSA}
33
34 .include <bsd.prog.mk>