]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - stand/uboot.mk
ping(8): Fix a mandoc related issue
[FreeBSD/FreeBSD.git] / stand / uboot.mk
1 # $FreeBSD$
2
3 SRCS+=  main.c
4
5 .PATH:          ${UBOOTSRC}/common
6
7 CFLAGS+=        -I${UBOOTSRC}/common
8
9 # U-Boot standalone support library
10 LIBUBOOT=       ${BOOTOBJ}/uboot/lib/libuboot.a
11 CFLAGS+=        -I${UBOOTSRC}/lib
12 CFLAGS+=        -I${BOOTOBJ}/uboot/lib
13 .if ${MACHINE_CPUARCH} == "arm"
14 SRCS+=  metadata.c
15 .endif
16
17 .include "${BOOTSRC}/fdt.mk"
18
19 .if ${MK_FDT} == "yes"
20 LIBUBOOT_FDT=   ${BOOTOBJ}/uboot/fdt/libuboot_fdt.a
21 .endif