]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - stand/powerpc/uboot/Makefile
MFC r341101-r341103, r341148, r341391, r341422-r341423, r341454, r341780-r341781...
[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 PROG=           ubldr
15 NEWVERSWHAT=    "U-Boot loader" ${MACHINE_ARCH}
16 INSTALLFLAGS=   -b
17
18 # Architecture-specific loader code
19 SRCS=           start.S conf.c vers.c ppc64_elf_freebsd.c
20 SRCS+=          ucmpdi2.c
21
22 # Always add MI sources
23 .include        "${BOOTSRC}/loader.mk"
24 .PATH:          ${SYSDIR}/libkern
25
26 LDFLAGS=        -nostdlib -static -T ${.CURDIR}/ldscript.powerpc
27
28 .include        "${BOOTSRC}/uboot.mk"
29
30 DPADD=          ${LDR_INTERP} ${LIBUBOOT} ${LIBFDT} ${LIBUBOOT_FDT} ${LIBSA}
31 LDADD=          ${LDR_INTERP} ${LIBUBOOT} ${LIBFDT} ${LIBUBOOT_FDT} ${LIBSA}
32
33 .include <bsd.prog.mk>