1
0

Config.in.qemuopts 4.8 KB

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