| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: bsd.own.mk,v 1.1369 2024/04/24 05:20:35 nia Exp $ | | 1 | # $NetBSD: bsd.own.mk,v 1.1370 2024/04/24 07:54:53 martin Exp $ |
2 | | | 2 | |
3 | # This needs to be before bsd.init.mk | | 3 | # This needs to be before bsd.init.mk |
4 | .if defined(BSD_MK_COMPAT_FILE) | | 4 | .if defined(BSD_MK_COMPAT_FILE) |
5 | .include <${BSD_MK_COMPAT_FILE}> | | 5 | .include <${BSD_MK_COMPAT_FILE}> |
6 | .endif | | 6 | .endif |
7 | | | 7 | |
8 | .if !defined(_BSD_OWN_MK_) | | 8 | .if !defined(_BSD_OWN_MK_) |
9 | _BSD_OWN_MK_=1 | | 9 | _BSD_OWN_MK_=1 |
10 | | | 10 | |
11 | MAKECONF?= /etc/mk.conf | | 11 | MAKECONF?= /etc/mk.conf |
12 | .-include "${MAKECONF}" | | 12 | .-include "${MAKECONF}" |
13 | | | 13 | |
14 | # | | 14 | # |
| @@ -1310,26 +1310,33 @@ MKTEGRAFIRMWARE.evbarm= yes | | | @@ -1310,26 +1310,33 @@ MKTEGRAFIRMWARE.evbarm= yes |
1310 | MKDTB.aarch64= yes | | 1310 | MKDTB.aarch64= yes |
1311 | MKDTB.aarch64eb= yes | | 1311 | MKDTB.aarch64eb= yes |
1312 | MKDTB.earmv6= yes | | 1312 | MKDTB.earmv6= yes |
1313 | MKDTB.earmv6hf= yes | | 1313 | MKDTB.earmv6hf= yes |
1314 | MKDTB.earmv6eb= yes | | 1314 | MKDTB.earmv6eb= yes |
1315 | MKDTB.earmv6hfeb= yes | | 1315 | MKDTB.earmv6hfeb= yes |
1316 | MKDTB.earmv7= yes | | 1316 | MKDTB.earmv7= yes |
1317 | MKDTB.earmv7hf= yes | | 1317 | MKDTB.earmv7hf= yes |
1318 | MKDTB.earmv7eb= yes | | 1318 | MKDTB.earmv7eb= yes |
1319 | MKDTB.earmv7hfeb= yes | | 1319 | MKDTB.earmv7hfeb= yes |
1320 | MKDTB.riscv32= yes | | 1320 | MKDTB.riscv32= yes |
1321 | MKDTB.riscv64= yes | | 1321 | MKDTB.riscv64= yes |
1322 | | | 1322 | |
| | | 1323 | # alpha build fails due to missing X include files, |
| | | 1324 | # vax build triggers a gcc bug and dies with an internal compiler error. |
| | | 1325 | # XXX switch both to old Mesa for now. |
| | | 1326 | .if ${MACHINE} == "alpha" || ${MACHINE} == "vax" |
| | | 1327 | HAVE_MESA_VER=19 |
| | | 1328 | .endif |
| | | 1329 | |
1323 | HAVE_MESA_VER?= 21 | | 1330 | HAVE_MESA_VER?= 21 |
1324 | .if ${HAVE_MESA_VER} == 19 | | 1331 | .if ${HAVE_MESA_VER} == 19 |
1325 | EXTERNAL_MESALIB_DIR?= MesaLib.old | | 1332 | EXTERNAL_MESALIB_DIR?= MesaLib.old |
1326 | .elif ${HAVE_MESA_VER} == 21 | | 1333 | .elif ${HAVE_MESA_VER} == 21 |
1327 | EXTERNAL_MESALIB_DIR?= MesaLib | | 1334 | EXTERNAL_MESALIB_DIR?= MesaLib |
1328 | .endif | | 1335 | .endif |
1329 | | | 1336 | |
1330 | # Default to LLVM run-time if x86 or aarch64 and X11 and Mesa 18 or newer | | 1337 | # Default to LLVM run-time if x86 or aarch64 and X11 and Mesa 18 or newer |
1331 | # XXX This knows that MKX11=no is default below, but would | | 1338 | # XXX This knows that MKX11=no is default below, but would |
1332 | # require splitting the below loop in two parts. | | 1339 | # require splitting the below loop in two parts. |
1333 | .if ${MKX11:Uno} != "no" && ${HAVE_MESA_VER} >= 19 | | 1340 | .if ${MKX11:Uno} != "no" && ${HAVE_MESA_VER} >= 19 |
1334 | MKLLVMRT.amd64= yes | | 1341 | MKLLVMRT.amd64= yes |
1335 | MKLLVMRT.i386= yes | | 1342 | MKLLVMRT.i386= yes |