1
0

Config.in.qemuopts 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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 configuration"
  4. depends on ADK_TARGET_QEMU && !ADK_TARGET_SYSTEM_QEMU_M68K
  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. boolean
  12. depends on ADK_TARGET_QEMU_ARM_MODEL_SPITZ || ADK_TARGET_QEMU_ARM_MODEL_TERRIER
  13. choice
  14. prompt "Use a Bootloader"
  15. depends on ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_TARGET_SYSTEM_QEMU_X86
  16. config ADK_TARGET_QEMU_WITHOUT_BOOTLOADER
  17. boolean "do not use bootloader"
  18. config ADK_TARGET_QEMU_WITH_BOOTLOADER
  19. boolean "use bootloader"
  20. select ADK_PACKAGE_GRUB if ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_TARGET_SYSTEM_QEMU_X86
  21. endchoice
  22. choice
  23. prompt "Qemu Emulation with storage device"
  24. depends on ADK_TARGET_QEMU && !ADK_TARGET_SYSTEM_QEMU_XTENSA && !ADK_TARGET_SYSTEM_QEMU_AARCH64 && !ADK_TARGET_SYSTEM_QEMU_M68K
  25. default ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_ROOTFS_ARCHIVE
  26. default ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_ROOTFS_SQUASHFS
  27. default ADK_TARGET_QEMU_WITH_BLOCK if ADK_TARGET_ROOTFS_JFFS2
  28. config ADK_TARGET_QEMU_WITHOUT_BLOCK
  29. boolean "disabled"
  30. config ADK_TARGET_QEMU_WITH_BLOCK
  31. boolean "enabled"
  32. select ADK_KERNEL_SCSI_SYM53C8XX_2 if ADK_TARGET_QEMU_ARM_MODEL_VERSATILEPB
  33. select ADK_KERNEL_MTD_M25P80 if ADK_TARGET_QEMU_MICROBLAZE_MODEL_ML605 || ADK_TARGET_QEMU_MICROBLAZE_MODEL_S3ADSP1800
  34. select ADK_KERNEL_ATA_PIIX if ADK_TARGET_SYSTEM_QEMU_MIPS || ADK_TARGET_SYSTEM_QEMU_MIPS64 || ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  35. select ADK_KERNEL_PATA_MACIO if ADK_TARGET_SYSTEM_QEMU_PPC
  36. select ADK_KERNEL_SCSI_IBMVSCSI if ADK_TARGET_SYSTEM_QEMU_PPC64
  37. select ADK_KERNEL_SCSI_SUNESP if ADK_TARGET_SYSTEM_QEMU_SPARC
  38. select ADK_KERNEL_PATA_CMD64X if ADK_TARGET_SYSTEM_QEMU_SPARC64
  39. select ADK_KERNEL_PATA_PLATFORM if ADK_TARGET_SYSTEM_QEMU_SH
  40. select ADK_KERNEL_PATA_PXA if ADK_TARGET_QEMU_ARM_MODEL_SPITZ || ADK_TARGET_QEMU_ARM_MODEL_TERRIER
  41. endchoice
  42. choice
  43. prompt "Qemu Emulation with graphical output"
  44. depends on ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_SH
  45. config ADK_TARGET_QEMU_WITHOUT_GRAPHIC
  46. boolean "disabled"
  47. config ADK_TARGET_QEMU_WITH_GRAPHIC
  48. boolean "enabled"
  49. select ADK_KERNEL_VT
  50. select ADK_KERNEL_VT_CONSOLE
  51. select ADK_KERNEL_FONTS
  52. select ADK_KERNEL_FONT_8x16
  53. select ADK_KERNEL_FB
  54. select ADK_KERNEL_FRAMEBUFFER_CONSOLE
  55. select ADK_KERNEL_INPUT
  56. select ADK_KERNEL_INPUT_KEYBOARD
  57. select ADK_KERNEL_INPUT_MOUSE
  58. select ADK_KERNEL_INPUT_MOUSEDEV
  59. select ADK_KERNEL_FB_SM501 if ADK_TARGET_SYSTEM_QEMU_SH
  60. select ADK_KERNEL_DRM_CIRRUS_QEMU if ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  61. select ADK_KERNEL_KEYBOARD_ATKBD if ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  62. select ADK_KERNEL_MOUSE_PS2 if ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  63. select ADK_KERNEL_USB_HID if ADK_TARGET_SYSTEM_QEMU_SH
  64. select ADK_KERNEL_USB_OHCI_HCD_PLATFORM if ADK_TARGET_SYSTEM_QEMU_SH
  65. endchoice
  66. choice
  67. prompt "Qemu Emulation using VirtIO drivers"
  68. depends on ADK_TARGET_SYSTEM_QEMU_SPARC64 || \
  69. ADK_TARGET_SYSTEM_QEMU_AARCH64 || \
  70. ADK_TARGET_SYSTEM_QEMU_X86 || \
  71. ADK_TARGET_SYSTEM_QEMU_X86_64
  72. default ADK_TARGET_QEMU_WITH_VIRTIO if ADK_TARGET_SYSTEM_QEMU_AARCH64
  73. config ADK_TARGET_QEMU_WITHOUT_VIRTIO
  74. boolean "disabled"
  75. config ADK_TARGET_QEMU_WITH_VIRTIO
  76. boolean "enabled"
  77. select ADK_KERNEL_VIRTIO
  78. select ADK_KERNEL_VIRTIO_PCI
  79. select ADK_KERNEL_VIRTIO_NET
  80. select ADK_KERNEL_VIRTIO_BLK
  81. select ADK_KERNEL_VIRTIO_CONSOLE
  82. endchoice
  83. choice
  84. prompt "Qemu Emulation with audio support"
  85. depends on ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_TARGET_SYSTEM_QEMU_X86
  86. config ADK_TARGET_QEMU_WITHOUT_AUDIO
  87. boolean "disabled"
  88. config ADK_TARGET_QEMU_WITH_AUDIO
  89. boolean "enabled"
  90. endchoice
  91. endmenu