1
0

Config.in.qemuopts 3.9 KB

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