1# SPDX-License-Identifier: Apache-2.0
2
3# FIXME: SHADOW_VARS: Remove this once we have enabled -Wshadow globally.
4add_compile_options($<TARGET_PROPERTY:compiler,warning_shadow_variables>)
5
6add_definitions(-D__ZEPHYR_SUPERVISOR__)
7
8# zephyr-keep-sorted-start
9add_subdirectory(disk)
10add_subdirectory(interrupt_controller)
11add_subdirectory(misc)
12add_subdirectory(pcie)
13add_subdirectory(usb)
14add_subdirectory(usb_c)
15
16add_subdirectory_ifdef(CONFIG_ADC adc)
17add_subdirectory_ifdef(CONFIG_ARM_SIP_SVC_DRIVER sip_svc)
18add_subdirectory_ifdef(CONFIG_AUDIO audio)
19add_subdirectory_ifdef(CONFIG_AUXDISPLAY auxdisplay)
20add_subdirectory_ifdef(CONFIG_BBRAM bbram)
21add_subdirectory_ifdef(CONFIG_BT_DRIVERS bluetooth)
22add_subdirectory_ifdef(CONFIG_CACHE_MANAGEMENT cache)
23add_subdirectory_ifdef(CONFIG_CAN can)
24add_subdirectory_ifdef(CONFIG_CHARGER charger)
25add_subdirectory_ifdef(CONFIG_CLOCK_CONTROL clock_control)
26add_subdirectory_ifdef(CONFIG_CONSOLE console)
27add_subdirectory_ifdef(CONFIG_COREDUMP_DEVICE coredump)
28add_subdirectory_ifdef(CONFIG_COUNTER counter)
29add_subdirectory_ifdef(CONFIG_CRYPTO crypto)
30add_subdirectory_ifdef(CONFIG_DAC dac)
31add_subdirectory_ifdef(CONFIG_DAI dai)
32add_subdirectory_ifdef(CONFIG_DISPLAY display)
33add_subdirectory_ifdef(CONFIG_DMA dma)
34add_subdirectory_ifdef(CONFIG_EDAC edac)
35add_subdirectory_ifdef(CONFIG_EEPROM eeprom)
36add_subdirectory_ifdef(CONFIG_ENTROPY_GENERATOR entropy)
37add_subdirectory_ifdef(CONFIG_ESPI espi)
38add_subdirectory_ifdef(CONFIG_FLASH flash)
39add_subdirectory_ifdef(CONFIG_FPGA fpga)
40add_subdirectory_ifdef(CONFIG_FUEL_GAUGE fuel_gauge)
41add_subdirectory_ifdef(CONFIG_GNSS gnss)
42add_subdirectory_ifdef(CONFIG_GPIO gpio)
43add_subdirectory_ifdef(CONFIG_HWINFO hwinfo)
44add_subdirectory_ifdef(CONFIG_HWSPINLOCK  hwspinlock)
45add_subdirectory_ifdef(CONFIG_I2C i2c)
46add_subdirectory_ifdef(CONFIG_I2S i2s)
47add_subdirectory_ifdef(CONFIG_I3C i3c)
48add_subdirectory_ifdef(CONFIG_IEEE802154 ieee802154)
49add_subdirectory_ifdef(CONFIG_INPUT input)
50add_subdirectory_ifdef(CONFIG_IPM ipm)
51add_subdirectory_ifdef(CONFIG_KSCAN kscan)
52add_subdirectory_ifdef(CONFIG_LED led)
53add_subdirectory_ifdef(CONFIG_LED_STRIP led_strip)
54add_subdirectory_ifdef(CONFIG_LORA lora)
55add_subdirectory_ifdef(CONFIG_MBOX mbox)
56add_subdirectory_ifdef(CONFIG_MDIO mdio)
57add_subdirectory_ifdef(CONFIG_MEMC memc)
58add_subdirectory_ifdef(CONFIG_MFD mfd)
59add_subdirectory_ifdef(CONFIG_MIPI_DBI mipi_dbi)
60add_subdirectory_ifdef(CONFIG_MIPI_DSI mipi_dsi)
61add_subdirectory_ifdef(CONFIG_MM_DRV mm)
62add_subdirectory_ifdef(CONFIG_MODEM modem)
63add_subdirectory_ifdef(CONFIG_NET_DRIVERS net)
64add_subdirectory_ifdef(CONFIG_NET_L2_ETHERNET ethernet)
65add_subdirectory_ifdef(CONFIG_PECI peci)
66add_subdirectory_ifdef(CONFIG_PINCTRL pinctrl)
67add_subdirectory_ifdef(CONFIG_PM_CPU_OPS pm_cpu_ops)
68add_subdirectory_ifdef(CONFIG_POWER_DOMAIN power_domain)
69add_subdirectory_ifdef(CONFIG_PS2 ps2)
70add_subdirectory_ifdef(CONFIG_PTP_CLOCK ptp_clock)
71add_subdirectory_ifdef(CONFIG_PWM pwm)
72add_subdirectory_ifdef(CONFIG_REGULATOR regulator)
73add_subdirectory_ifdef(CONFIG_RESET reset)
74add_subdirectory_ifdef(CONFIG_RETAINED_MEM retained_mem)
75add_subdirectory_ifdef(CONFIG_RTC rtc)
76add_subdirectory_ifdef(CONFIG_SDHC sdhc)
77add_subdirectory_ifdef(CONFIG_SENSOR sensor)
78add_subdirectory_ifdef(CONFIG_SERIAL serial)
79add_subdirectory_ifdef(CONFIG_SMBUS smbus)
80add_subdirectory_ifdef(CONFIG_SPI spi)
81add_subdirectory_ifdef(CONFIG_SYSCON syscon)
82add_subdirectory_ifdef(CONFIG_SYS_CLOCK_EXISTS timer)
83add_subdirectory_ifdef(CONFIG_VIDEO video)
84add_subdirectory_ifdef(CONFIG_VIRTUALIZATION virtualization)
85add_subdirectory_ifdef(CONFIG_W1 w1)
86add_subdirectory_ifdef(CONFIG_WATCHDOG watchdog)
87add_subdirectory_ifdef(CONFIG_WIFI wifi)
88add_subdirectory_ifdef(CONFIG_XEN xen)
89# zephyr-keep-sorted-stop
90