Config.in.qemuopts 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. menu "Qemu system configuration"
  4. depends on ADK_TARGET_QEMU && !ADK_TARGET_SYSTEM_QEMU_XTENSA
  5. config ADK_QEMU_ARGS
  6. string
  7. default "" if ADK_TARGET_QEMU_WITH_GRAPHIC
  8. default "" if ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
  9. default "-nographic"
  10. config ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
  11. bool
  12. select ADK_TARGET_WITH_VGA
  13. depends on ADK_TARGET_SYSTEM_QEMU_ARM_SPITZ || ADK_TARGET_SYSTEM_QEMU_ARM_TERRIER
  14. choice
  15. prompt "Bootloader"
  16. depends on ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_TARGET_SYSTEM_QEMU_X86
  17. config ADK_TARGET_QEMU_WITHOUT_BOOTLOADER
  18. bool "do not use bootloader"
  19. config ADK_TARGET_QEMU_WITH_BOOTLOADER
  20. bool "use bootloader"
  21. select ADK_PACKAGE_GRUB if ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_TARGET_SYSTEM_QEMU_X86
  22. endchoice
  23. choice
  24. prompt "Qemu Emulation with storage device"
  25. depends on ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB \
  26. || ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9 \
  27. || ADK_TARGET_SYSTEM_QEMU_ARM_TERRIER \
  28. || ADK_TARGET_SYSTEM_QEMU_ARM_SPITZ \
  29. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605 \
  30. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
  31. || ADK_TARGET_SYSTEM_QEMU_MIPS \
  32. || ADK_TARGET_SYSTEM_QEMU_MIPS64 \
  33. || ADK_TARGET_SYSTEM_QEMU_PPC_MACPPC \
  34. || ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO \
  35. || ADK_TARGET_SYSTEM_QEMU_PPC64 \
  36. || ADK_TARGET_SYSTEM_QEMU_SH \
  37. || ADK_TARGET_SYSTEM_QEMU_SPARC \
  38. || ADK_TARGET_SYSTEM_QEMU_SPARC64 \
  39. || ADK_TARGET_SYSTEM_QEMU_X86 \
  40. || ADK_TARGET_SYSTEM_QEMU_X86_64
  41. config ADK_TARGET_QEMU_WITHOUT_BLOCK
  42. bool "disabled"
  43. config ADK_TARGET_QEMU_WITH_BLOCK
  44. bool "enabled"
  45. select ADK_TARGET_WITH_BLOCK
  46. select ADK_KERNEL_SCSI_SYM53C8XX_2 if ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB
  47. select ADK_KERNEL_MTD_M25P80 if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605 \
  48. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800
  49. select ADK_KERNEL_ATA_PIIX if ADK_TARGET_SYSTEM_QEMU_MIPS \
  50. || ADK_TARGET_SYSTEM_QEMU_MIPS64 \
  51. || ADK_TARGET_SYSTEM_QEMU_X86 \
  52. || ADK_TARGET_SYSTEM_QEMU_X86_64
  53. select ADK_KERNEL_PATA_MACIO if ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO \
  54. || ADK_TARGET_SYSTEM_QEMU_PPC_MACPPC
  55. select ADK_KERNEL_SCSI_IBMVSCSI if ADK_TARGET_SYSTEM_QEMU_PPC64
  56. select ADK_KERNEL_SCSI_SUNESP if ADK_TARGET_SYSTEM_QEMU_SPARC
  57. select ADK_KERNEL_PATA_CMD64X if ADK_TARGET_SYSTEM_QEMU_SPARC64
  58. select ADK_KERNEL_PATA_PLATFORM if ADK_TARGET_SYSTEM_QEMU_SH
  59. select ADK_KERNEL_PATA_PXA if ADK_TARGET_QEMU_ARM_SPITZ \
  60. || ADK_TARGET_SYSTEM_QEMU_ARM_TERRIER
  61. select ADK_KERNEL_MMC_ARMMMCI if ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
  62. endchoice
  63. choice
  64. prompt "Qemu Emulation with graphical output"
  65. depends on ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9 \
  66. || ADK_TARGET_SYSTEM_QEMU_SH \
  67. || ADK_TARGET_SYSTEM_QEMU_X86_64 \
  68. || ADK_TARGET_SYSTEM_QEMU_X86
  69. config ADK_TARGET_QEMU_WITHOUT_GRAPHIC
  70. bool "disabled"
  71. config ADK_TARGET_QEMU_WITH_GRAPHIC
  72. bool "enabled"
  73. select ADK_TARGET_WITH_VGA
  74. select ADK_KERNEL_VT
  75. select ADK_KERNEL_VT_CONSOLE
  76. select ADK_KERNEL_FONTS
  77. select ADK_KERNEL_FONT_8x16
  78. select ADK_KERNEL_FB
  79. select ADK_KERNEL_FRAMEBUFFER_CONSOLE
  80. select ADK_KERNEL_INPUT
  81. select ADK_KERNEL_INPUT_KEYBOARD
  82. select ADK_KERNEL_INPUT_MOUSE
  83. select ADK_KERNEL_INPUT_MOUSEDEV
  84. select ADK_KERNEL_PLAT_VERSATILE_CLCD if ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
  85. select ADK_KERNEL_FB_SM501 if ADK_TARGET_SYSTEM_QEMU_SH
  86. select ADK_KERNEL_DRM_CIRRUS_QEMU if ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  87. select ADK_KERNEL_KEYBOARD_ATKBD if ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  88. select ADK_KERNEL_MOUSE_PS2 if ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  89. select ADK_KERNEL_USB_HID if ADK_TARGET_SYSTEM_QEMU_SH
  90. select ADK_KERNEL_USB_OHCI_HCD_PLATFORM if ADK_TARGET_SYSTEM_QEMU_SH
  91. endchoice
  92. choice
  93. prompt "Qemu Emulation using VirtIO drivers"
  94. depends on ADK_TARGET_SYSTEM_QEMU_SPARC64 || \
  95. ADK_TARGET_SYSTEM_QEMU_AARCH64 || \
  96. ADK_TARGET_SYSTEM_QEMU_X86 || \
  97. ADK_TARGET_SYSTEM_QEMU_X86_64
  98. default ADK_TARGET_QEMU_WITH_VIRTIO if ADK_TARGET_SYSTEM_QEMU_AARCH64
  99. config ADK_TARGET_QEMU_WITHOUT_VIRTIO
  100. bool "disabled"
  101. config ADK_TARGET_QEMU_WITH_VIRTIO
  102. bool "enabled"
  103. select ADK_KERNEL_VIRTIO
  104. select ADK_KERNEL_VIRTIO_PCI
  105. select ADK_KERNEL_VIRTIO_NET
  106. select ADK_KERNEL_VIRTIO_BLK
  107. select ADK_KERNEL_VIRTIO_CONSOLE
  108. endchoice
  109. choice
  110. prompt "Qemu Emulation with audio support"
  111. depends on ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_TARGET_SYSTEM_QEMU_X86
  112. config ADK_TARGET_QEMU_WITHOUT_AUDIO
  113. bool "disabled"
  114. config ADK_TARGET_QEMU_WITH_AUDIO
  115. bool "enabled"
  116. endchoice
  117. endmenu