| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: bsd.own.mk,v 1.1149.2.7 2024/04/18 15:24:20 martin Exp $ | | 1 | # $NetBSD: bsd.own.mk,v 1.1149.2.8 2024/04/18 16:12:31 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 | # |
| @@ -988,29 +988,30 @@ MKSOFTFLOAT?= yes | | | @@ -988,29 +988,30 @@ MKSOFTFLOAT?= yes |
988 | # These platforms always use softfloat. | | 988 | # These platforms always use softfloat. |
989 | # | | 989 | # |
990 | .if (${MACHINE_CPU} == "arm" && ${MACHINE_ARCH:M*hf*} == "") || \ | | 990 | .if (${MACHINE_CPU} == "arm" && ${MACHINE_ARCH:M*hf*} == "") || \ |
991 | ${MACHINE_ARCH} == "coldfire" || ${MACHINE_CPU} == "or1k" || \ | | 991 | ${MACHINE_ARCH} == "coldfire" || ${MACHINE_CPU} == "or1k" || \ |
992 | ${MACHINE} == "emips" || ${MACHINE_CPU} == "sh3" | | 992 | ${MACHINE} == "emips" || ${MACHINE_CPU} == "sh3" |
993 | MKSOFTFLOAT= yes | | 993 | MKSOFTFLOAT= yes |
994 | .endif | | 994 | .endif |
995 | | | 995 | |
996 | .if ${MACHINE} == "emips" | | 996 | .if ${MACHINE} == "emips" |
997 | SOFTFLOAT_BITS= 32 | | 997 | SOFTFLOAT_BITS= 32 |
998 | .endif | | 998 | .endif |
999 | | | 999 | |
1000 | # | | 1000 | # |
1001 | # We want to build zfs only for amd64 and aarch64 by default for now. | | 1001 | # We want to build zfs only for amd64, aarch64 and sparc64 by default for now. |
1002 | # | | 1002 | # |
1003 | .if ${MACHINE} == "amd64" || ${MACHINE_ARCH} == "aarch64" | | 1003 | .if ${MACHINE} == "amd64" || ${MACHINE_ARCH} == "aarch64" || \ |
| | | 1004 | ${MACHINE} == "sparc64" |
1004 | MKZFS?= yes | | 1005 | MKZFS?= yes |
1005 | .endif | | 1006 | .endif |
1006 | | | 1007 | |
1007 | # | | 1008 | # |
1008 | # DTrace works on amd64, i386 and earm* | | 1009 | # DTrace works on amd64, i386 and earm* |
1009 | # | | 1010 | # |
1010 | .if ${MACHINE_ARCH} == "i386" || \ | | 1011 | .if ${MACHINE_ARCH} == "i386" || \ |
1011 | ${MACHINE_ARCH} == "x86_64" || \ | | 1012 | ${MACHINE_ARCH} == "x86_64" || \ |
1012 | ${MACHINE_ARCH} == "aarch64" || \ | | 1013 | ${MACHINE_ARCH} == "aarch64" || \ |
1013 | !empty(MACHINE_ARCH:Mearm*) | | 1014 | !empty(MACHINE_ARCH:Mearm*) |
1014 | MKDTRACE?= yes | | 1015 | MKDTRACE?= yes |
1015 | MKCTF?= yes | | 1016 | MKCTF?= yes |
1016 | .endif | | 1017 | .endif |