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 14add_subdirectory(canbus) 15add_subdirectory(debug) 16add_subdirectory(fb) 17add_subdirectory(fs) 18add_subdirectory(ipc) 19add_subdirectory(logging) 20add_subdirectory(mem_mgmt) 21add_subdirectory(mgmt) 22add_subdirectory(modbus) 23add_subdirectory(pm) 24add_subdirectory(portability) 25add_subdirectory(random) 26add_subdirectory(rtio) 27add_subdirectory(sd) 28add_subdirectory(stats) 29add_subdirectory(storage) 30add_subdirectory(task_wdt) 31add_subdirectory(testsuite) 32add_subdirectory(tracing) 33add_subdirectory(usb) 34 35add_subdirectory_ifdef(CONFIG_BINDESC bindesc) 36add_subdirectory_ifdef(CONFIG_BT bluetooth) 37add_subdirectory_ifdef(CONFIG_CONSOLE_SUBSYS console) 38add_subdirectory_ifdef(CONFIG_DEMAND_PAGING demand_paging) 39add_subdirectory_ifdef(CONFIG_DISK_ACCESS disk) 40add_subdirectory_ifdef(CONFIG_DSP dsp) 41add_subdirectory_ifdef(CONFIG_EMUL emul) 42add_subdirectory_ifdef(CONFIG_IMG_MANAGER dfu) 43add_subdirectory_ifdef(CONFIG_INPUT input) 44add_subdirectory_ifdef(CONFIG_JWT jwt) 45add_subdirectory_ifdef(CONFIG_MODEM_MODULES modem) 46add_subdirectory_ifdef(CONFIG_LLEXT llext) 47add_subdirectory_ifdef(CONFIG_NET_BUF net) 48add_subdirectory_ifdef(CONFIG_RETENTION retention) 49add_subdirectory_ifdef(CONFIG_SENSING sensing) 50add_subdirectory_ifdef(CONFIG_SETTINGS settings) 51add_subdirectory_ifdef(CONFIG_SHELL shell) 52add_subdirectory_ifdef(CONFIG_TIMING_FUNCTIONS timing) 53add_subdirectory_ifdef(CONFIG_ZBUS zbus) 54add_subdirectory_ifdef(CONFIG_ARM_SIP_SVC_SUBSYS sip_svc) 55