1# SPDX-License-Identifier: Apache-2.0
2
3# FIXME: SHADOW_VARS: move this before adding shadow variable warning below.
4# This is because, in some build configurations, the external lorawan module
5# is pulled in as though the source files are in main repo. This results in
6# shadow variable warnings being active on these files. Until the module has
7# fixed those shadow variables, keep this here before add_compile_options()
8# below.
9add_subdirectory_ifdef(CONFIG_LORAWAN lorawan)
10
11# FIXME: SHADOW_VARS: Remove this once we have enabled -Wshadow globally.
12add_compile_options($<TARGET_PROPERTY:compiler,warning_shadow_variables>)
13
14# zephyr-keep-sorted-start
15add_subdirectory(canbus)
16add_subdirectory(debug)
17add_subdirectory(fb)
18add_subdirectory(fs)
19add_subdirectory(ipc)
20add_subdirectory(logging)
21add_subdirectory(mem_mgmt)
22add_subdirectory(mgmt)
23add_subdirectory(modbus)
24add_subdirectory(pm)
25add_subdirectory(portability)
26add_subdirectory(random)
27add_subdirectory(rtio)
28add_subdirectory(sd)
29add_subdirectory(stats)
30add_subdirectory(storage)
31add_subdirectory(task_wdt)
32add_subdirectory(testsuite)
33add_subdirectory(tracing)
34add_subdirectory(usb)
35
36add_subdirectory_ifdef(CONFIG_ARM_SIP_SVC_SUBSYS sip_svc)
37add_subdirectory_ifdef(CONFIG_BINDESC bindesc)
38add_subdirectory_ifdef(CONFIG_BT bluetooth)
39add_subdirectory_ifdef(CONFIG_CONSOLE_SUBSYS console)
40add_subdirectory_ifdef(CONFIG_DAP dap)
41add_subdirectory_ifdef(CONFIG_DEMAND_PAGING demand_paging)
42add_subdirectory_ifdef(CONFIG_DISK_ACCESS disk)
43add_subdirectory_ifdef(CONFIG_DSP dsp)
44add_subdirectory_ifdef(CONFIG_EMUL emul)
45add_subdirectory_ifdef(CONFIG_IMG_MANAGER dfu)
46add_subdirectory_ifdef(CONFIG_INPUT input)
47add_subdirectory_ifdef(CONFIG_JWT jwt)
48add_subdirectory_ifdef(CONFIG_LLEXT llext)
49add_subdirectory_ifdef(CONFIG_MODEM_MODULES modem)
50add_subdirectory_ifdef(CONFIG_NET_BUF net)
51add_subdirectory_ifdef(CONFIG_RETENTION retention)
52add_subdirectory_ifdef(CONFIG_SENSING sensing)
53add_subdirectory_ifdef(CONFIG_SETTINGS settings)
54add_subdirectory_ifdef(CONFIG_SHELL shell)
55add_subdirectory_ifdef(CONFIG_TIMING_FUNCTIONS timing)
56add_subdirectory_ifdef(CONFIG_ZBUS zbus)
57# zephyr-keep-sorted-stop
58