]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - stand/powerpc/kboot/Makefile
sys/{x86,amd64}: remove one of doubled ;s
[FreeBSD/FreeBSD.git] / stand / powerpc / kboot / Makefile
1 # $FreeBSD$
2
3 LOADER_CD9660_SUPPORT?= yes
4 LOADER_MSDOS_SUPPORT?=  no
5 LOADER_EXT2FS_SUPPORT?= yes
6 LOADER_UFS_SUPPORT?=    yes
7 LOADER_NET_SUPPORT?=    yes
8 LOADER_NFS_SUPPORT?=    yes
9 LOADER_TFTP_SUPPORT?=   no
10 LOADER_GZIP_SUPPORT?=   yes
11 LOADER_BZIP2_SUPPORT?=  no
12
13 .include <bsd.init.mk>
14
15 PROG=           loader.kboot
16 NEWVERSWHAT=    "kboot loader" ${MACHINE_ARCH}
17 INSTALLFLAGS=   -b
18
19 # Architecture-specific loader code
20 SRCS=           conf.c vers.c main.c ppc64_elf_freebsd.c
21 SRCS+=          host_syscall.S hostcons.c hostdisk.c kerneltramp.S kbootfdt.c
22 SRCS+=          ucmpdi2.c
23
24 .include        "${BOOTSRC}/fdt.mk"
25
26 CFLAGS+=        -mcpu=powerpc64
27
28 # Always add MI sources
29 .include        "${BOOTSRC}/loader.mk"
30 .PATH:          ${SYSDIR}/libkern
31
32 CFLAGS+=        -Wall -DAIM
33 # load address. set in linker script
34 RELOC?=         0x0
35 CFLAGS+=        -DRELOC=${RELOC}
36
37 LDFLAGS=        -nostdlib -static -T ${.CURDIR}/ldscript.powerpc
38
39 DPADD=          ${LDR_INTERP} ${LIBOFW} ${LIBFDT} ${LIBSA}
40 LDADD=          ${LDR_INTERP} ${LIBOFW} ${LIBFDT} ${LIBSA}
41
42 .include <bsd.prog.mk>