]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/boot/uboot.mk
Remove sys/boot/arm/at91 and ixp425
[FreeBSD/FreeBSD.git] / sys / boot / uboot.mk
1 # $FreeBSD$
2
3 SRCS+=  main.c metadata.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
14 .if ${LOADER_FDT_SUPPORT} == "yes"
15 CFLAGS+=        -I${FDTSRC}
16 CFLAGS+=        -I${BOOTOBJ}/fdt
17 CFLAGS+=        -DLOADER_FDT_SUPPORT
18 LIBUBOOT_FDT=   ${BOOTOBJ}/uboot/fdt/libuboot_fdt.a
19 LIBFDT=         ${BOOTOBJ}/fdt/libfdt.a
20 .endif