summaryrefslogtreecommitdiff
path: root/target/config/Config.in.addons
blob: f26804e4a0188facd4ad430068af916adacd928a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

choice
prompt "GPU memory size"
depends on ADK_TARGET_BOARD_BCM28XX
default ADK_TARGET_GPU_MEM_256 if ADK_PACKAGE_KODI

config ADK_TARGET_GPU_MEM_16
       bool "16"
       help
         use minimal 16 MB.

config ADK_TARGET_GPU_MEM_64
       bool "64"
       help
         use 64 MB.

config ADK_TARGET_GPU_MEM_128
       bool "128"
       help
         use 128 MB.

config ADK_TARGET_GPU_MEM_256
       bool "256"
       help
         use 256 MB.

endchoice

config ADK_TARGET_GPU_MEM
       int
       default 16 if ADK_TARGET_GPU_MEM_16
       default 64 if ADK_TARGET_GPU_MEM_64
       default 128 if ADK_TARGET_GPU_MEM_128
       default 256 if ADK_TARGET_GPU_MEM_256
       depends on ADK_TARGET_BOARD_BCM28XX


choice
prompt "Serial or Bluetooth"
depends on ( ADK_TARGET_OS_LINUX || ADK_TARGET_OS_WALDUX ) \
        && ( ADK_TARGET_SYSTEM_RASPBERRY_PI3 \
	|| ADK_TARGET_SYSTEM_RASPBERRY_PI3P \
	|| ADK_TARGET_SYSTEM_RASPBERRY_PI3_64 \
	|| ADK_TARGET_SYSTEM_RASPBERRY_PI3P_64 )

config ADK_TARGET_HARDWARE_RPI3_SERIAL
	bool "serial"
	select ADK_TARGET_HARDWARE_RPI3_NO_BT
	select ADK_LINUX_KERNEL_SERIAL_AMBA_PL011 if ADK_TARGET_OS_LINUX
	select ADK_WALDUX_KERNEL_SERIAL_AMBA_PL011 if ADK_TARGET_OS_WALDUX

config ADK_TARGET_HARDWARE_RPI3_BT
	bool "bluetooth"
	select ADK_LINUX_KERNEL_BT_HCIUART_BCM m if ADK_TARGET_OS_LINUX
	select ADK_WALDUX_KERNEL_BT_HCIUART_BCM m if ADK_TARGET_OS_WALDUX

config ADK_TARGET_HARDWARE_RPI3_NONE
	bool "none"

endchoice

config ADK_TARGET_HARDWARE_RPI3_NO_BT
	bool

config ADK_TARGET_HARDWARE_RPI3_NO_WIFI
	bool "Disable wifi"
	depends on ( ADK_TARGET_OS_LINUX || ADK_TARGET_OS_WALDUX ) \
		&& ( ADK_TARGET_SYSTEM_RASPBERRY_PI3 \
		|| ADK_TARGET_SYSTEM_RASPBERRY_PI3P \
		|| ADK_TARGET_SYSTEM_RASPBERRY_PI3_64 \
		|| ADK_TARGET_SYSTEM_RASPBERRY_PI3P_64 )


choice
prompt "Audio Board Addon"
depends on (ADK_TARGET_OS_LINUX || ADK_TARGET_OS_WALDUX) && ADK_TARGET_BOARD_BCM28XX

config ADK_TARGET_HARDWARE_NONE
	bool "No audio addon board"

config ADK_TARGET_HARDWARE_HIFIBERRY_AMP
	bool "Hifiberry AMP"
	select ADK_LINUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_AMP m if ADK_TARGET_OS_LINUX
	select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_AMP m if ADK_TARGET_OS_WALDUX

config ADK_TARGET_HARDWARE_HIFIBERRY_DAC
	bool "Hifiberry DAC"
	select ADK_LINUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DAC m if ADK_TARGET_OS_LINUX
	select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DAC m if ADK_TARGET_OS_WALDUX

config ADK_TARGET_HARDWARE_HIFIBERRY_DACPLUS
	bool "Hifiberry DACPLUS"
	select ADK_LINUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DACPLUS m if ADK_TARGET_OS_LINUX
	select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DACPLUS m if ADK_TARGET_OS_WALDUX

config ADK_TARGET_HARDWARE_HIFIBERRY_DIGI
	bool "Hifiberry DIGI"
	select ADK_LINUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DIGI m if ADK_TARGET_OS_LINUX
	select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DIGI m if ADK_TARGET_OS_WALDUX

config ADK_TARGET_HARDWARE_RPI_DAC
	bool "RPI-DAC"
	select ADK_LINUX_KERNEL_SND_BCM2708_SOC_RPI_DAC m if ADK_TARGET_OS_LINUX
	select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_RPI_DAC m if ADK_TARGET_OS_WALDUX

config ADK_TARGET_HARDWARE_IQAUDIO_DAC
	bool "IQAudio-DAC"
	select ADK_LINUX_KERNEL_SND_BCM2708_SOC_IQAUDIO_DAC m if ADK_TARGET_OS_LINUX
	select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_IQAUDIO_DAC m if ADK_TARGET_OS_WALDUX

config ADK_TARGET_HARDWARE_RPI_PROTO
	bool "Rpi-Proto"
	select ADK_LINUX_KERNEL_SND_BCM2708_SOC_RPI_PROTO m if ADK_TARGET_OS_LINUX
	select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_RPI_PROTO m if ADK_TARGET_OS_WALDUX

endchoice