2001-06-09 16:49:51 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2015-04-05 18:37:39 +00:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
2016-03-15 05:17:31 +00:00
|
|
|
# In-tree GCC does not support __attribute__((ms_abi)), but gcc newer
|
|
|
|
# than 4.5 supports it.
|
|
|
|
.if ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} >= 404500
|
2001-06-09 16:49:51 +00:00
|
|
|
|
2015-04-05 18:42:43 +00:00
|
|
|
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm"
|
2015-04-05 18:37:39 +00:00
|
|
|
.if ${MK_FDT} != "no"
|
|
|
|
SUBDIR+= fdt
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
2015-04-14 13:55:01 +00:00
|
|
|
.if ${MACHINE_CPUARCH} == "aarch64" || \
|
|
|
|
${MACHINE_CPUARCH} == "amd64" || \
|
|
|
|
${MACHINE_CPUARCH} == "arm"
|
2016-01-14 18:53:54 +00:00
|
|
|
SUBDIR+= libefi loader boot1
|
2015-04-01 08:30:40 +00:00
|
|
|
.endif
|
|
|
|
|
2016-03-15 05:17:31 +00:00
|
|
|
.endif # ${COMPILER_TYPE} != "gcc" || ${COMPILER_VERSION} >= 404500
|
2016-01-14 18:53:54 +00:00
|
|
|
|
2001-06-09 16:49:51 +00:00
|
|
|
.include <bsd.subdir.mk>
|