2017-10-22 22:49:51 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
SRCS+= main.c metadata.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
|
|
|
|
|
2017-11-10 23:54:24 +00:00
|
|
|
.include "${BOOTSRC}/fdt.mk"
|
|
|
|
|
|
|
|
.if ${MK_FDT} == "yes"
|
2017-10-22 22:49:51 +00:00
|
|
|
LIBUBOOT_FDT= ${BOOTOBJ}/uboot/fdt/libuboot_fdt.a
|
|
|
|
.endif
|