5 # For amd64 we have to build 32 and 64 bit versions of things. For
6 # others we don't. LIB32LIST is a list of libraries, which if
7 # included, need to be built 32-bit as well.
8 .if ${MACHINE_ARCH} == "amd64"
9 LIB32LIST=libsa ficl liblua zfs
16 S.${MK_LOADER_LUA}+= liblua
17 S.${MK_LOADER_LUA}+= lua
19 S.${MK_LOADER_OFW}+= ofw
24 S.${MK_LOADER_GELI}+= geli
26 .include <bsd.arch.inc.mk>
29 S.${MK_LOADER_UBOOT}+= uboot
31 .if exists(${.CURDIR}/${MACHINE}/.)
35 # Build the actual subdir list from S.yes, adding in the 32-bit
36 # variant if necessary.
39 .if defined(LIB32LIST) && ${LIB32LIST:M${_x}}
44 .include <bsd.subdir.mk>