1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/stand/uboot.mk

22 lines
392 B
Makefile
Raw Normal View History

# $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