]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/boot/powerpc/uboot/Makefile
Re-sync loader.mk and ficl.mk to where they should be
[FreeBSD/FreeBSD.git] / sys / boot / 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 MAN=
18
19 # Architecture-specific loader code
20 SRCS=           start.S conf.c vers.c
21 SRCS+=          ucmpdi2.c
22
23 # Always add MI sources
24 HELP_FILES=     # Disable
25 .include        "${BOOTSRC}/loader.mk"
26 .PATH:          ${SYSDIR}/libkern
27
28 CFLAGS+=        -ffreestanding
29
30 LDFLAGS=        -nostdlib -static -T ${.CURDIR}/ldscript.powerpc
31
32 .include        "${BOOTSRC}/uboot.mk"
33
34 DPADD=          ${LIBFICL} ${LIBUBOOT} ${LIBFDT} ${LIBUBOOT_FDT} ${LIBSA}
35 LDADD=          ${LIBFICL} ${LIBUBOOT} ${LIBFDT} ${LIBUBOOT_FDT} ${LIBSA}
36
37 .include <bsd.prog.mk>