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