zephyr/modules
Jason Yu 530f9163db modules: hal_nxp: mcux-sdk-ng: Fix cmake variable scope error
The CMakeLists.txt files in folders modules/hal_nxp/mcux/mcux-sdk-ng/*/
are loaded in modules/hal_nxp/mcux/mcux-sdk-ng/CMakeLists.txt using
cmake function `add_subdirectory`.

One issue is, when variables defined in one CMakeLists.txt are needed
by another CMakeLists.txt, then the variables need be exposed to parent
scope. This is not convenient.

Another issue is, to expose variables, the function `set_variable_ifdef`
sets the variables as global variables. The CMake global variables
named `CONFIG_xxx` will be collected by Kconfig, and results in build
fail.

The solution is:
1. Replace `add_subdirectory` with `include`, so that the variables will
be in the same file scope, don't need to expose them.
2. Modify the implementation of `set_variable_ifdef`, don't set
variables as global variables.

Resolves #88135

Signed-off-by: Jason Yu <zejiang.yu@nxp.com>
2025-04-09 19:34:10 +02:00
..
acpica
canopennode modules: canopennode: add rxmsg callback 2024-10-16 12:26:40 +02:00
cmsis arch: arm: Adding fault description for the cortex A7 2025-04-04 09:35:03 +02:00
cmsis-dsp cmake: compiler: Added property flag for optimization fast 2025-03-07 20:01:18 +01:00
cmsis-nn cmake: compiler: Added property flag for optimization fast 2025-03-07 20:01:18 +01:00
fatfs fs: fat_fs: fix spelling of "available" 2025-02-19 18:51:13 +01:00
hal_ambiq modules: hal_ambiq: fix cmake warning when no BLE 2025-03-07 19:45:40 +01:00
hal_ethos_u modules: hal_ethos_u: Update to latest Ethos-U rev 2025-01-07 10:10:05 +01:00
hal_gigadevice
hal_infineon drivers: adc: Update configuration values for CAT1B ADC 2025-04-09 09:03:19 +02:00
hal_nordic modules: hal_nordic: bump regtool to 9.0.1 2025-04-09 09:03:00 +02:00
hal_nxp modules: hal_nxp: mcux-sdk-ng: Fix cmake variable scope error 2025-04-09 19:34:10 +02:00
hal_rpi_pico pico-sdk: Exclude the watchdog driver. 2025-03-07 19:47:41 +01:00
hal_silabs driver: sleeptimer: siwx917: Add siwx91x Sleeptimer driver 2025-04-03 06:24:54 +02:00
hal_st drivers/sensor: lis2dux12: add lis2duxs12 support 2024-12-27 19:34:46 +01:00
hal_tdk modules: hal_tdk: Add icp201xx support 2025-04-07 15:17:44 +02:00
hal_wch soc: Introduce Qingke V4C-based CH32V208 SoC 2025-03-14 14:39:30 +01:00
hostap hostap: Relocate hostapd related source code to new files 2025-04-09 12:35:27 +02:00
liblc3 audio: liblc3: Fix global include path issue 2025-01-27 13:26:02 +01:00
littlefs fs: littlefs: add littlefs disk version selection 2024-12-17 20:55:51 +01:00
loramac-node lorawan: services: frag transport: prepare for pluggable decoder 2024-06-11 16:09:23 +03:00
lvgl modules: lvgl: Introduce Greyscale support 2025-03-12 14:05:14 +00:00
lz4 modules: lz4: add configurability 2024-11-22 22:46:59 +00:00
mbedtls modules: mbedtls: Expose MBEDTLS_RSA_C 2025-03-27 03:50:15 +01:00
nanopb
nrf_wifi modules: nrf_wifi: Remove unnecessary check 2025-04-04 09:35:47 +02:00
openthread modules: openthread: platform: optimize stack usage in crypto_psa 2025-03-07 19:59:00 +01:00
percepio modules: percepio: Fix python executable name 2024-08-28 06:49:27 -04:00
segger cmake: segger: linker_script: handle section rtt_buff_data 2025-02-21 18:03:29 +00:00
tflite-micro modules: tflite-micro: update cmakelists 2025-02-13 06:39:17 +01:00
thrift net: lib: tls_credentials: Rename TLS_CREDENTIAL_SERVER_CERTIFICATE 2025-03-21 14:18:52 +01:00
trusted-firmware-a
trusted-firmware-m boards: Add non-secure target for nrf54L15dk 2025-04-08 01:51:18 +02:00
uoscore-uedhoc modules: Update uoscore-uedhoc revision to the latest 2025-02-13 20:12:18 +01:00
zcbor zcbor: Improve kconfig help text 2025-01-25 20:06:05 +01:00
Kconfig modules: hal_nxp: Move hal_nxp glue layer to zephyr repo 2025-03-26 16:26:34 +01:00
Kconfig.altera
Kconfig.atmel
Kconfig.chre
Kconfig.cypress
Kconfig.eos_s3
Kconfig.esp32 modules: Kconfig: Provide default definitions for modules with blobs 2024-09-16 10:07:13 +02:00
Kconfig.infineon drivers: rtc: Add RTC driver for Infineon XMC4xxx devices 2024-09-04 09:54:52 +02:00
Kconfig.intel
Kconfig.libmetal
Kconfig.mcuboot mcuboot: Kconfig options for single app slot RAM loading mode 2025-04-08 16:12:33 +02:00
Kconfig.microchip soc: microchip: mec: Add new HAL based MEC5 family chips 2024-05-21 16:45:30 -04:00
Kconfig.nuvoton drivers: usb_c: numaker: support Nuvoton's M2L31 series 2024-08-01 12:38:53 +02:00
Kconfig.open-amp
Kconfig.picolibc
Kconfig.renesas_fsp drivers: timer: Add ULPT timer for power management on Renesas RA MCUs 2025-04-03 08:41:08 +02:00
Kconfig.rust modules: Add placeholder for CONFIG_RUST 2024-09-26 17:46:27 -04:00
Kconfig.simplelink modules: simplelink: Add support for cc23x0 SoC 2025-02-04 11:56:05 +01:00
Kconfig.sof
Kconfig.stm32 modules: stm32: add stm32n6 cube modules 2025-01-28 18:14:45 +01:00
Kconfig.sysbuild
Kconfig.syst
Kconfig.telink
Kconfig.tinycrypt TinyCrypt: Deprecate the library 2024-12-12 11:05:59 +01:00
Kconfig.vega
Kconfig.wurthelektronik
Kconfig.xtensa
modules.cmake