1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
6 default "-vga std" if ADK_TARGET_QEMU_WITH_GRAPHIC
7 default "" if ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
10 config ADK_TARGET_QEMU_WITH_GRAPHIC_ONLY
12 select ADK_TARGET_WITH_VGA
13 depends on ADK_TARGET_SYSTEM_QEMU_ARM_SPITZ || ADK_TARGET_SYSTEM_QEMU_ARM_TERRIER
15 config ADK_TARGET_QEMU_WITH_BLOCK
17 select ADK_TARGET_WITH_BLOCK
18 select ADK_LINUX_KERNEL_SCSI_SYM53C8XX_2 if ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB
19 select ADK_LINUX_KERNEL_MTD_M25P80 if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605 \
20 || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800
21 select ADK_LINUX_KERNEL_ATA_PIIX if ADK_TARGET_SYSTEM_QEMU_MIPS \
22 || ADK_TARGET_SYSTEM_QEMU_MIPS64 \
23 || ADK_TARGET_SYSTEM_QEMU_X86 \
24 || ADK_TARGET_SYSTEM_QEMU_X86_64
25 select ADK_LINUX_KERNEL_PATA_MACIO if ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO \
26 || ADK_TARGET_SYSTEM_QEMU_PPC_MACPPC
27 select ADK_LINUX_KERNEL_SCSI_IBMVSCSI if ADK_TARGET_SYSTEM_QEMU_PPC64
28 select ADK_LINUX_KERNEL_SCSI_MAC_ESP if ADK_TARGET_SYSTEM_QEMU_M68K_Q800
29 select ADK_LINUX_KERNEL_SCSI_SUNESP if ADK_TARGET_SYSTEM_QEMU_SPARC
30 select ADK_LINUX_KERNEL_PATA_CMD64X if ADK_TARGET_SYSTEM_QEMU_SPARC64
31 select ADK_LINUX_KERNEL_PATA_PLATFORM if ADK_TARGET_SYSTEM_QEMU_SH
32 select ADK_LINUX_KERNEL_PATA_PXA if ADK_TARGET_QEMU_ARM_SPITZ \
33 || ADK_TARGET_SYSTEM_QEMU_ARM_TERRIER
34 select ADK_LINUX_KERNEL_MMC_ARMMMCI if ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
35 select ADK_LINUX_KERNEL_BLK_DEV_CMD64X if ADK_TARGET_SYSTEM_QEMU_ALPHA
37 menu "Qemu system configuration"
38 depends on ADK_TARGET_QEMU && (ADK_TARGET_SYSTEM_QEMU_X86_64 \
39 || ADK_TARGET_SYSTEM_QEMU_RISCV32 \
40 || ADK_TARGET_SYSTEM_QEMU_RISCV64 \
41 || ADK_TARGET_SYSTEM_QEMU_CSKY \
42 || ADK_TARGET_SYSTEM_QEMU_X86 \
43 || ADK_TARGET_SYSTEM_QEMU_AARCH64 \
44 || ADK_TARGET_SYSTEM_QEMU_ARC \
45 || ADK_TARGET_SYSTEM_QEMU_M68K_VIRT \
46 || ADK_TARGET_SYSTEM_QEMU_SPARC64)
50 depends on ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_TARGET_SYSTEM_QEMU_X86
52 config ADK_TARGET_QEMU_WITHOUT_BOOTLOADER
53 bool "do not use bootloader"
55 config ADK_TARGET_QEMU_WITH_BOOTLOADER
57 select ADK_PACKAGE_GRUB if ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_TARGET_SYSTEM_QEMU_X86
63 prompt "Qemu Emulation with graphical output"
64 depends on ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9 \
65 || ADK_TARGET_SYSTEM_QEMU_SH \
66 || ADK_TARGET_SYSTEM_QEMU_X86_64 \
67 || ADK_TARGET_SYSTEM_QEMU_X86
69 config ADK_TARGET_QEMU_WITHOUT_GRAPHIC
72 config ADK_TARGET_QEMU_WITH_GRAPHIC
74 select ADK_TARGET_WITH_VGA
75 select ADK_LINUX_KERNEL_VT
76 select ADK_LINUX_KERNEL_VT_CONSOLE
77 select ADK_LINUX_KERNEL_FONTS
78 select ADK_LINUX_KERNEL_FONT_8x16
79 select ADK_LINUX_KERNEL_FB
80 select ADK_LINUX_KERNEL_FRAMEBUFFER_CONSOLE
81 select ADK_LINUX_KERNEL_INPUT
82 select ADK_LINUX_KERNEL_INPUT_KEYBOARD
83 select ADK_LINUX_KERNEL_INPUT_MOUSE
84 select ADK_LINUX_KERNEL_INPUT_MOUSEDEV
85 select ADK_LINUX_KERNEL_PLAT_VERSATILE_CLCD if ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
86 select ADK_LINUX_KERNEL_FB_SM501 if ADK_TARGET_SYSTEM_QEMU_SH
87 select ADK_LINUX_KERNEL_DRM_BOCHS if ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
88 select ADK_LINUX_KERNEL_KEYBOARD_ATKBD if ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
89 select ADK_LINUX_KERNEL_MOUSE_PS2 if ADK_TARGET_SYSTEM_QEMU_X86 || ADK_TARGET_SYSTEM_QEMU_X86_64
90 select ADK_LINUX_KERNEL_USB_HID if ADK_TARGET_SYSTEM_QEMU_SH
91 select ADK_LINUX_KERNEL_USB_OHCI_HCD_PLATFORM if ADK_TARGET_SYSTEM_QEMU_SH
96 prompt "Qemu Emulation using VirtIO drivers"
97 depends on ADK_TARGET_SYSTEM_QEMU_SPARC64 || \
98 ADK_TARGET_SYSTEM_QEMU_AARCH64 || \
99 ADK_TARGET_SYSTEM_QEMU_ARC || \
100 ADK_TARGET_SYSTEM_QEMU_CSKY || \
101 ADK_TARGET_SYSTEM_QEMU_M68K_VIRT || \
102 ADK_TARGET_SYSTEM_QEMU_RISCV32 || \
103 ADK_TARGET_SYSTEM_QEMU_RISCV64 || \
104 ADK_TARGET_SYSTEM_QEMU_X86 || \
105 ADK_TARGET_SYSTEM_QEMU_X86_64
106 default ADK_TARGET_QEMU_WITH_VIRTIO if ADK_TARGET_SYSTEM_QEMU_AARCH64
107 default ADK_TARGET_QEMU_WITH_VIRTIO if ADK_TARGET_SYSTEM_QEMU_ARC
108 default ADK_TARGET_QEMU_WITH_VIRTIO if ADK_TARGET_SYSTEM_QEMU_CSKY
109 default ADK_TARGET_QEMU_WITH_VIRTIO if ADK_TARGET_SYSTEM_QEMU_RISCV32
110 default ADK_TARGET_QEMU_WITH_VIRTIO if ADK_TARGET_SYSTEM_QEMU_RISCV64
111 default ADK_TARGET_QEMU_WITH_VIRTIO if ADK_TARGET_SYSTEM_QEMU_M68K_VIRT
113 config ADK_TARGET_QEMU_WITHOUT_VIRTIO
116 config ADK_TARGET_QEMU_WITH_VIRTIO
118 select ADK_LINUX_KERNEL_VIRTIO
119 select ADK_LINUX_KERNEL_VIRTIO_MENU
120 select ADK_LINUX_KERNEL_VIRTIO_PCI
121 select ADK_LINUX_KERNEL_VIRTIO_NET
122 select ADK_LINUX_KERNEL_VIRTIO_BLK
123 select ADK_LINUX_KERNEL_VIRTIO_CONSOLE
128 prompt "Qemu Emulation with audio support"
129 depends on ADK_TARGET_SYSTEM_QEMU_X86_64 || ADK_TARGET_SYSTEM_QEMU_X86
131 config ADK_TARGET_QEMU_WITHOUT_AUDIO
134 config ADK_TARGET_QEMU_WITH_AUDIO