Config.in 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. config BR2_PACKAGE_XVISOR_ARCH_SUPPORTS
  2. bool
  3. default y if BR2_aarch64
  4. default y if BR2_cortex_a7 || BR2_cortex_a12 || BR2_cortex_a15 || BR2_cortex_a17
  5. default y if BR2_riscv
  6. default y if BR2_x86_64
  7. depends on BR2_USE_MMU
  8. menuconfig BR2_PACKAGE_XVISOR
  9. bool "xvisor"
  10. depends on BR2_PACKAGE_XVISOR_ARCH_SUPPORTS
  11. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  12. help
  13. Xvisor is an open-source type-1 hypervisor, which aims at
  14. providing a monolithic, light-weight, portable, and flexible
  15. virtualization solution.
  16. http://www.xhypervisor.org/
  17. if BR2_PACKAGE_XVISOR
  18. choice
  19. prompt "Xvisor configuration"
  20. default BR2_PACKAGE_XVISOR_USE_DEFCONFIG
  21. config BR2_PACKAGE_XVISOR_USE_DEFCONFIG
  22. bool "Using an in-tree defconfig file"
  23. config BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG
  24. bool "Using a custom (def)config file"
  25. endchoice
  26. config BR2_PACKAGE_XVISOR_DEFCONFIG
  27. string "Defconfig name"
  28. default "generic-v7-ve" if BR2_ARM_CPU_ARMV7A
  29. default "generic-v8" if BR2_aarch64
  30. default "generic-32b" if BR2_RISCV_32
  31. default "generic-64b" if BR2_RISCV_64
  32. default "x86_64_generic" if BR2_x86_64
  33. depends on BR2_PACKAGE_XVISOR_USE_DEFCONFIG
  34. help
  35. Name of the Xvisor defconfig file to use, without the
  36. trailing -defconfig. The defconfig is located in
  37. arch/<arch>/configs in the source tree.
  38. config BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE
  39. string "Configuration file path"
  40. depends on BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG
  41. help
  42. Path to the Xvisor configuration file
  43. config BR2_PACKAGE_XVISOR_CREATE_UBOOT_IMAGE
  44. bool "Create U-Boot image of Xvisor"
  45. depends on BR2_arm
  46. select BR2_PACKAGE_HOST_UBOOT_TOOLS
  47. help
  48. Create an image file of Xvisor loadable from Das U-Boot.
  49. config BR2_PACKAGE_XVISOR_BUILD_TEST_DTB
  50. bool "Build test device-tree blobs"
  51. help
  52. Build test device-tree blobs for popular boards.
  53. endif
  54. comment "xvisor needs a toolchain w/ gcc >= 4.9"
  55. depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  56. depends on BR2_PACKAGE_XVISOR_ARCH_SUPPORTS