]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - stand/sparc64/loader/Makefile
Import OpenCSD -- an ARM CoreSight(tm) Trace Decode Library.
[FreeBSD/FreeBSD.git] / stand / sparc64 / loader / Makefile
1 # $FreeBSD$
2
3 LOADER_DISK_SUPPORT?=   yes
4 LOADER_UFS_SUPPORT?=    yes
5 LOADER_CD9660_SUPPORT?= yes
6 LOADER_EXT2FS_SUPPORT?= no
7 LOADER_MSDOS_SUPPORT?=  no
8 LOADER_NET_SUPPORT?=    yes
9 LOADER_NFS_SUPPORT?=    yes
10 LOADER_TFTP_SUPPORT?=   yes
11 LOADER_GZIP_SUPPORT?=   yes
12 LOADER_BZIP2_SUPPORT?=  no
13 LOADER_DEBUG?=          no
14
15 .include <bsd.init.mk>
16
17 PROG?=          loader
18 NEWVERSWHAT?=   "bootstrap loader" sparc64
19 VERSION_FILE=   ${.CURDIR}/../loader/version
20 INSTALLFLAGS=   -b
21
22 .if ${MK_ZFS} != "no"
23 HAVE_ZFS=       yes
24 .endif
25
26 # Architecture-specific loader code
27 .PATH:          ${BOOTSRC}/sparc64/loader
28 SRCS=           locore.S main.c vers.c
29
30 .if ${LOADER_DEBUG} == "yes"
31 CFLAGS+=        -DLOADER_DEBUG
32 .endif
33
34 .if exists(${.CURDIR}/help.sparc64)
35 HELP_FILES=     ${.CURDIR}/help.sparc64
36 .endif
37
38 # Always add MI sources
39 .include        "${BOOTSRC}/loader.mk"
40
41 LDFLAGS+=       -static
42
43 # Open Firmware standalone support library
44 LIBOFW=         ${BOOTOBJ}/ofw/libofw/libofw.a
45 CFLAGS+=        -I${BOOTSRC}/ofw/libofw/
46
47 DPADD=          ${LDR_INTERP} ${LIBZFSBOOT} ${LIBOFW} ${LIBSA}
48 LDADD=          ${LDR_INTERP} ${LIBZFSBOOT} ${LIBOFW} ${LIBSA}
49
50 .include <bsd.prog.mk>