summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux_agldemo.inc
blob: 1126c76732bdd8a6c13ca7ea27ea22d8e50f98a0 (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
FILESEXTRAPATHS:prepend := "${THISDIR}/linux:"

# Enable assorted USB device support for demo systems
AGL_KCONFIG_FRAGMENTS_DEMO += " \
    usb.cfg \
    uvc.cfg \
    hid.cfg \
    joystick.cfg \
    usbaudio.cfg \
    usbmodem.cfg \
    btusb.cfg \
    i2c-led.cfg \
"

# Enable CAN device support
AGL_KCONFIG_FRAGMENTS_DEMO += "can-devices.cfg"

# Enable NFC support
AGL_KCONFIG_FRAGMENTS_DEMO += "nfc.cfg"

# Enable support for TP-Link TL-W722N USB Wifi adapter (rev 1 and 2)
AGL_KCONFIG_FRAGMENTS_DEMO += "wifi.cfg"

# Enable support for RTLSDR
AGL_KCONFIG_FRAGMENTS_DEMO += "rtl_sdr.cfg"

# iio-dummy-device support for test IIO device
AGL_KCONFIG_FRAGMENTS_DEMO += "iiodevice.cfg"

# External rtc support via e.g. http://wiki.seeedstudio.com/Grove-RTC/
AGL_KCONFIG_FRAGMENTS_DEMO += "rtc.cfg"

# Make sure in-kernel MOST drivers are disabled to avoid conflicting
# with our externally built ones
AGL_KCONFIG_FRAGMENTS_DEMO += "disable_most.cfg"

# Enable some things on qemuarm64 so MOST drivers will build and load.
AGL_KCONFIG_FRAGMENTS_DEMO:append:qemuarm64 = " most_deps.cfg"

# We don't want most of the above for the virtio guest kernels,
# use an explicit list
AGL_KCONFIG_FRAGMENTS_DEMO:virtio-all = " \
    kvm-demo-can-devices.cfg \
    kvm-demo-usb.cfg \
    usbaudio.cfg \
    hid.cfg \
"

AGL_KCONFIG_FRAGMENTS += "${AGL_KCONFIG_FRAGMENTS_DEMO}"