Config.in.qemuopts 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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
  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
  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_PLATFORM if ADK_TARGET_SYSTEM_QEMU_SH
  39. select ADK_KERNEL_PATA_PXA if ADK_TARGET_QEMU_ARM_MODEL_SPITZ || ADK_TARGET_QEMU_ARM_MODEL_TERRIER
  40. endchoice
  41. choice
  42. prompt "Qemu Emulation with graphical output"
  43. depends on ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_SH
  44. config ADK_TARGET_QEMU_WITHOUT_GRAPHIC
  45. boolean "disabled"
  46. config ADK_TARGET_QEMU_WITH_GRAPHIC
  47. boolean "enabled"
  48. select ADK_KERNEL_VT
  49. select ADK_KERNEL_VT_CONSOLE
  50. select ADK_KERNEL_FONTS
  51. select ADK_KERNEL_FONT_8x16
  52. select ADK_KERNEL_FB
  53. select ADK_KERNEL_FRAMEBUFFER_CONSOLE
  54. select ADK_KERNEL_INPUT
  55. select ADK_KERNEL_INPUT_KEYBOARD
  56. select ADK_KERNEL_INPUT_MOUSE
  57. select ADK_KERNEL_INPUT_MOUSEDEV
  58. select ADK_KERNEL_FB_SM501 if ADK_TARGET_SYSTEM_QEMU_SH
  59. select ADK_KERNEL_DRM_CIRRUS_QEMU if ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  60. select ADK_KERNEL_KEYBOARD_ATKBD if ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  61. select ADK_KERNEL_MOUSE_PS2 if ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
  62. select ADK_KERNEL_USB_HID if ADK_TARGET_SYSTEM_QEMU_SH
  63. select ADK_KERNEL_USB_OHCI_HCD_PLATFORM if ADK_TARGET_SYSTEM_QEMU_SH
  64. endchoice
  65. choice
  66. prompt "Qemu Emulation using VirtIO drivers"
  67. depends on ADK_TARGET_SYSTEM_QEMU_SPARC64 || \
  68. ADK_TARGET_SYSTEM_QEMU_X86 || \
  69. ADK_TARGET_SYSTEM_QEMU_X86_64
  70. default ADK_TARGET_QEMU_WITH_VIRTIO if ADK_TARGET_SYSTEM_QEMU_SPARC64
  71. config ADK_TARGET_QEMU_WITHOUT_VIRTIO
  72. boolean "disabled"
  73. config ADK_TARGET_QEMU_WITH_VIRTIO
  74. boolean "enabled"
  75. select ADK_KERNEL_VIRTIO
  76. select ADK_KERNEL_VIRTIO_PCI
  77. select ADK_KERNEL_VIRTIO_NET
  78. select ADK_KERNEL_VIRTIO_BLK
  79. endchoice
  80. choice
  81. prompt "Qemu Emulation with audio support"
  82. depends on ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_TARGET_SYSTEM_QEMU_X86
  83. config ADK_TARGET_QEMU_WITHOUT_AUDIO
  84. boolean "disabled"
  85. config ADK_TARGET_QEMU_WITH_AUDIO
  86. boolean "enabled"
  87. endchoice
  88. endmenu