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(firmware)
11add_subdirectory(interrupt_controller)
12add_subdirectory(misc)
13add_subdirectory(pcie)
14add_subdirectory(usb)
15add_subdirectory(usb_c)
16
17add_subdirectory_ifdef(CONFIG_ADC adc)
18add_subdirectory_ifdef(CONFIG_ARM_SIP_SVC_DRIVER sip_svc)
19add_subdirectory_ifdef(CONFIG_AUDIO audio)
20add_subdirectory_ifdef(CONFIG_AUXDISPLAY auxdisplay)
21add_subdirectory_ifdef(CONFIG_BBRAM bbram)
22add_subdirectory_ifdef(CONFIG_BT_DRIVERS bluetooth)
23add_subdirectory_ifdef(CONFIG_CACHE_MANAGEMENT cache)
24add_subdirectory_ifdef(CONFIG_CAN can)
25add_subdirectory_ifdef(CONFIG_CHARGER charger)
26add_subdirectory_ifdef(CONFIG_CLOCK_CONTROL clock_control)
27add_subdirectory_ifdef(CONFIG_COMPARATOR comparator)
28add_subdirectory_ifdef(CONFIG_CONSOLE console)
29add_subdirectory_ifdef(CONFIG_COREDUMP_DEVICE coredump)
30add_subdirectory_ifdef(CONFIG_COUNTER counter)
31add_subdirectory_ifdef(CONFIG_CRYPTO crypto)
32add_subdirectory_ifdef(CONFIG_DAC dac)
33add_subdirectory_ifdef(CONFIG_DAI dai)
34add_subdirectory_ifdef(CONFIG_DISPLAY display)
35add_subdirectory_ifdef(CONFIG_DMA dma)
36add_subdirectory_ifdef(CONFIG_DP_DRIVER dp)
37add_subdirectory_ifdef(CONFIG_EDAC edac)
38add_subdirectory_ifdef(CONFIG_EEPROM eeprom)
39add_subdirectory_ifdef(CONFIG_ENTROPY_GENERATOR entropy)
40add_subdirectory_ifdef(CONFIG_ESPI espi)
41add_subdirectory_ifdef(CONFIG_ETH_DRIVER ethernet)
42add_subdirectory_ifdef(CONFIG_FLASH flash)
43add_subdirectory_ifdef(CONFIG_FPGA fpga)
44add_subdirectory_ifdef(CONFIG_FUEL_GAUGE fuel_gauge)
45add_subdirectory_ifdef(CONFIG_GNSS gnss)
46add_subdirectory_ifdef(CONFIG_GPIO gpio)
47add_subdirectory_ifdef(CONFIG_HAPTICS haptics)
48add_subdirectory_ifdef(CONFIG_HDLC_RCP_IF hdlc_rcp_if)
49add_subdirectory_ifdef(CONFIG_HWINFO hwinfo)
50add_subdirectory_ifdef(CONFIG_HWSPINLOCK  hwspinlock)
51add_subdirectory_ifdef(CONFIG_I2C i2c)
52add_subdirectory_ifdef(CONFIG_I2S i2s)
53add_subdirectory_ifdef(CONFIG_I3C i3c)
54add_subdirectory_ifdef(CONFIG_IEEE802154 ieee802154)
55add_subdirectory_ifdef(CONFIG_INPUT input)
56add_subdirectory_ifdef(CONFIG_IPM ipm)
57add_subdirectory_ifdef(CONFIG_KSCAN kscan)
58add_subdirectory_ifdef(CONFIG_LED led)
59add_subdirectory_ifdef(CONFIG_LED_STRIP led_strip)
60add_subdirectory_ifdef(CONFIG_LORA lora)
61add_subdirectory_ifdef(CONFIG_MBOX mbox)
62add_subdirectory_ifdef(CONFIG_MDIO mdio)
63add_subdirectory_ifdef(CONFIG_MEMC memc)
64add_subdirectory_ifdef(CONFIG_MFD mfd)
65add_subdirectory_ifdef(CONFIG_MIPI_DBI mipi_dbi)
66add_subdirectory_ifdef(CONFIG_MIPI_DSI mipi_dsi)
67add_subdirectory_ifdef(CONFIG_MM_DRV mm)
68add_subdirectory_ifdef(CONFIG_MODEM modem)
69add_subdirectory_ifdef(CONFIG_MSPI mspi)
70add_subdirectory_ifdef(CONFIG_NET_DRIVERS net)
71add_subdirectory_ifdef(CONFIG_PECI peci)
72add_subdirectory_ifdef(CONFIG_PINCTRL pinctrl)
73add_subdirectory_ifdef(CONFIG_PM_CPU_OPS pm_cpu_ops)
74add_subdirectory_ifdef(CONFIG_POWER_DOMAIN power_domain)
75add_subdirectory_ifdef(CONFIG_PS2 ps2)
76add_subdirectory_ifdef(CONFIG_PTP_CLOCK ptp_clock)
77add_subdirectory_ifdef(CONFIG_PWM pwm)
78add_subdirectory_ifdef(CONFIG_REGULATOR regulator)
79add_subdirectory_ifdef(CONFIG_RESET reset)
80add_subdirectory_ifdef(CONFIG_RETAINED_MEM retained_mem)
81add_subdirectory_ifdef(CONFIG_RTC rtc)
82add_subdirectory_ifdef(CONFIG_SDHC sdhc)
83add_subdirectory_ifdef(CONFIG_SENSOR sensor)
84add_subdirectory_ifdef(CONFIG_SERIAL serial)
85add_subdirectory_ifdef(CONFIG_SMBUS smbus)
86add_subdirectory_ifdef(CONFIG_SPI spi)
87add_subdirectory_ifdef(CONFIG_STEPPER stepper)
88add_subdirectory_ifdef(CONFIG_SYSCON syscon)
89add_subdirectory_ifdef(CONFIG_SYS_CLOCK_EXISTS timer)
90add_subdirectory_ifdef(CONFIG_TEE tee)
91add_subdirectory_ifdef(CONFIG_VIDEO video)
92add_subdirectory_ifdef(CONFIG_VIRTUALIZATION virtualization)
93add_subdirectory_ifdef(CONFIG_W1 w1)
94add_subdirectory_ifdef(CONFIG_WATCHDOG watchdog)
95add_subdirectory_ifdef(CONFIG_WIFI wifi)
96add_subdirectory_ifdef(CONFIG_XEN xen)
97# zephyr-keep-sorted-stop
98