1
0

Config.in.qemuopts 4.2 KB

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