Changeset View
Changeset View
Standalone View
Standalone View
sys/boot/uboot/lib/Makefile
Show All 14 Lines | |||||
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ | CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ | ||||
.if !defined(LOADER_NO_DISK_SUPPORT) | .if !defined(LOADER_NO_DISK_SUPPORT) | ||||
SRCS+= disk.c | SRCS+= disk.c | ||||
CFLAGS+= -DLOADER_DISK_SUPPORT | CFLAGS+= -DLOADER_DISK_SUPPORT | ||||
.endif | .endif | ||||
.if ${MK_ZFS} != "no" | |||||
LOADER_ZFS_SUPPORT= yes | |||||
CFLAGS+= -I${.CURDIR}/../../zfs | |||||
CFLAGS+= -I${.CURDIR}/../../../cddl/boot/zfs | |||||
.else | |||||
LOADER_ZFS_SUPPORT= no | |||||
.endif | |||||
.if ${LOADER_ZFS_SUPPORT} == "yes" | |||||
CFLAGS+= -DLOADER_ZFS_SUPPORT | |||||
.endif | |||||
.if ${MK_FDT} != "no" | .if ${MK_FDT} != "no" | ||||
LOADER_FDT_SUPPORT= yes | LOADER_FDT_SUPPORT= yes | ||||
.else | .else | ||||
LOADER_FDT_SUPPORT= no | LOADER_FDT_SUPPORT= no | ||||
.endif | .endif | ||||
.if ${LOADER_FDT_SUPPORT} == "yes" | .if ${LOADER_FDT_SUPPORT} == "yes" | ||||
CFLAGS+= -DLOADER_FDT_SUPPORT -I${.CURDIR}/../../fdt | CFLAGS+= -DLOADER_FDT_SUPPORT -I${.CURDIR}/../../fdt | ||||
Show All 22 Lines |