| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: options.mk,v 1.14 2023/12/07 17:18:58 gdt Exp $ | | 1 | # $NetBSD: options.mk,v 1.15 2023/12/07 17:27:17 gdt Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.py-anita | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.py-anita |
4 | PKG_SUPPORTED_OPTIONS= gxemul qemu simh xen | | 4 | PKG_SUPPORTED_OPTIONS= gxemul qemu simh xen |
5 | PKG_SUGGESTED_OPTIONS= | | 5 | PKG_SUGGESTED_OPTIONS= |
6 | | | 6 | |
7 | # To run (but not to build), anita needs some way to run a virtual | | 7 | # To run (but not to build), anita needs some way to run a virtual |
8 | # machine. The standard approach is qemu. An alternate approach for | | 8 | # machine. The standard approach is qemu. An alternate approach for |
9 | # x86 is xen (when running anita on a dom0). Additional approaches | | 9 | # x86 is xen (when running anita on a dom0). Additional approaches |
10 | # are gxemul and simh. | | 10 | # are gxemul and simh. |
11 | | | 11 | |
12 | # By default, py-anita does not depend on any of these, because a | | 12 | # By default, py-anita does not depend on any of these, because a |
13 | # hypervisor one doesn't want to use is a large burden. While these | | 13 | # hypervisor one doesn't want to use is a large burden. While these |
14 | # options can be enabled to cause anita to depend on qemu or xen, they | | 14 | # options can be enabled to cause anita to depend on qemu or xen, they |
| @@ -20,18 +20,18 @@ PKG_SUGGESTED_OPTIONS= | | | @@ -20,18 +20,18 @@ PKG_SUGGESTED_OPTIONS= |
20 | DEPENDS+= gxemul>=0:../../emulators/gxemul | | 20 | DEPENDS+= gxemul>=0:../../emulators/gxemul |
21 | .endif | | 21 | .endif |
22 | | | 22 | |
23 | .if !empty(PKG_OPTIONS:Mqemu) | | 23 | .if !empty(PKG_OPTIONS:Mqemu) |
24 | DEPENDS+= qemu>=3:../../emulators/qemu | | 24 | DEPENDS+= qemu>=3:../../emulators/qemu |
25 | .endif | | 25 | .endif |
26 | | | 26 | |
27 | # Pick open-simh as the mainstream approach, but anita does not have a | | 27 | # Pick open-simh as the mainstream approach, but anita does not have a |
28 | # particular requirement. | | 28 | # particular requirement. |
29 | .if !empty(PKG_OPTIONS:Msimh) | | 29 | .if !empty(PKG_OPTIONS:Msimh) |
30 | DEPENDS+= open-simh>=3:../../emulators/open-simh | | 30 | DEPENDS+= open-simh>=3:../../emulators/open-simh |
31 | .endif | | 31 | .endif |
32 | | | 32 | |
33 | # Either 415 or 418 should work; we choose 418 because it's newer. | | 33 | # Xen 415 is the standard approach, per the Xen HOWTO. |
34 | .if !empty(PKG_OPTIONS:Mxen) | | 34 | .if !empty(PKG_OPTIONS:Mxen) |
35 | DEPENDS+= xenkernel418>=4.2:../../sysutils/xenkernel418 | | 35 | DEPENDS+= xenkernel415>=4.2:../../sysutils/xenkernel415 |
36 | DEPENDS+= xentools418>=4.2:../../sysutils/xentools418 | | 36 | DEPENDS+= xentools415>=4.2:../../sysutils/xentools415 |
37 | .endif | | 37 | .endif |