2017-10-22 22:49:51 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2018-02-13 03:44:50 +00:00
|
|
|
SRCS+= main.c
|
2017-10-22 22:49:51 +00:00
|
|
|
|
|
|
|
.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
|
2018-02-13 03:44:50 +00:00
|
|
|
.if ${MACHINE_CPUARCH} == "arm"
|
|
|
|
SRCS+= metadata.c
|
|
|
|
.endif
|
2017-10-22 22:49:51 +00:00
|
|
|
|
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
|