Config.in.qemuopts 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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 "" 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. menu "Qemu system configuration"
  33. depends on ADK_TARGET_QEMU && (ADK_TARGET_SYSTEM_QEMU_X86_64 \
  34. || ADK_TARGET_SYSTEM_QEMU_X86 \
  35. || ADK_TARGET_SYSTEM_QEMU_AARCH64 \
  36. || ADK_TARGET_SYSTEM_QEMU_SPARC64)
  37. choice
  38. prompt "Bootloader"
  39. depends on ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_TARGET_SYSTEM_QEMU_X86
  40. config ADK_TARGET_QEMU_WITHOUT_BOOTLOADER
  41. bool "do not use bootloader"
  42. config ADK_TARGET_QEMU_WITH_BOOTLOADER
  43. bool "use bootloader"
  44. select ADK_PACKAGE_GRUB if ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_TARGET_SYSTEM_QEMU_X86
  45. endchoice
  46. choice
  47. prompt "Qemu Emulation with graphical output"
  48. depends on ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9 \
  49. || ADK_TARGET_SYSTEM_QEMU_SH \
  50. || ADK_TARGET_SYSTEM_QEMU_X86_64 \
  51. || ADK_TARGET_SYSTEM_QEMU_X86
  52. config ADK_TARGET_QEMU_WITHOUT_GRAPHIC
  53. bool "disabled"
  54. config ADK_TARGET_QEMU_WITH_GRAPHIC
  55. bool "enabled"
  56. select ADK_TARGET_WITH_VGA
  57. select ADK_KERNEL_VT
  58. select ADK_KERNEL_VT_CONSOLE
  59. select ADK_KERNEL_FONTS
  60. select ADK_KERNEL_FONT_8x16
  61. select ADK_KERNEL_FB
  62. select ADK_KERNEL_FRAMEBUFFER_CONSOLE
  63. select ADK_KERNEL_INPUT
  64. select ADK_KERNEL_INPUT_KEYBOARD
  65. select ADK_KERNEL_INPUT_MOUSE
  66. select ADK_KERNEL_INPUT_MOUSEDEV
  67. select ADK_KERNEL_PLAT_VERSATILE_CLCD if ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
  68. select ADK_KERNEL_FB_SM501 if ADK_TARGET_SYSTEM_QEMU_SH
  69. select ADK_KERNEL_DRM_CIRRUS_QEMU if ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  70. select ADK_KERNEL_KEYBOARD_ATKBD if ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  71. select ADK_KERNEL_MOUSE_PS2 if ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  72. select ADK_KERNEL_USB_HID if ADK_TARGET_SYSTEM_QEMU_SH
  73. select ADK_KERNEL_USB_OHCI_HCD_PLATFORM if ADK_TARGET_SYSTEM_QEMU_SH
  74. endchoice
  75. choice
  76. prompt "Qemu Emulation using VirtIO drivers"
  77. depends on ADK_TARGET_SYSTEM_QEMU_SPARC64 || \
  78. ADK_TARGET_SYSTEM_QEMU_AARCH64 || \
  79. ADK_TARGET_SYSTEM_QEMU_X86 || \
  80. ADK_TARGET_SYSTEM_QEMU_X86_64
  81. default ADK_TARGET_QEMU_WITH_VIRTIO if ADK_TARGET_SYSTEM_QEMU_AARCH64
  82. config ADK_TARGET_QEMU_WITHOUT_VIRTIO
  83. bool "disabled"
  84. config ADK_TARGET_QEMU_WITH_VIRTIO
  85. bool "enabled"
  86. select ADK_KERNEL_VIRTIO
  87. select ADK_KERNEL_VIRTIO_PCI
  88. select ADK_KERNEL_VIRTIO_NET
  89. select ADK_KERNEL_VIRTIO_BLK
  90. select ADK_KERNEL_VIRTIO_CONSOLE
  91. endchoice
  92. choice
  93. prompt "Qemu Emulation with audio support"
  94. depends on ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_TARGET_SYSTEM_QEMU_X86
  95. config ADK_TARGET_QEMU_WITHOUT_AUDIO
  96. bool "disabled"
  97. config ADK_TARGET_QEMU_WITH_AUDIO
  98. bool "enabled"
  99. endchoice
  100. endmenu