aboutsummaryrefslogblamecommitdiff
path: root/stand/uboot.mk
blob: 0ff7fb32b07c96fc8f9be91159e3207c271a2f7a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

           
              








                                               


                               
 


                            
                                                   
      
# $FreeBSD$

SRCS+=	main.c

.PATH:		${UBOOTSRC}/common

CFLAGS+=	-I${UBOOTSRC}/common

# U-Boot standalone support library
LIBUBOOT=	${BOOTOBJ}/uboot/lib/libuboot.a
CFLAGS+=	-I${UBOOTSRC}/lib
CFLAGS+=	-I${BOOTOBJ}/uboot/lib
.if ${MACHINE_CPUARCH} == "arm"
SRCS+=	metadata.c
.endif

.include "${BOOTSRC}/fdt.mk"

.if ${MK_FDT} == "yes"
LIBUBOOT_FDT=	${BOOTOBJ}/uboot/fdt/libuboot_fdt.a
.endif