mirror of
https://github.com/espressif/openthread.git
synced 2026-09-02 15:20:07 +00:00
[script] fix multiple LOG_OUTPUT definitions (#7833)
This commit updates `check-simulation-build-autotools` to use the `LOG_OUTPUT` switch directly. This addresses an issue where we could end up with multiple `OPENTHREAD_CONFIG_LOG_OUTPUT` definitions in the `CPPFLAGS`.
This commit is contained in:
@@ -101,9 +101,9 @@ build_all_features()
|
||||
)
|
||||
|
||||
# Build Thread 1.1 with full features and no log
|
||||
export CPPFLAGS="${options[*]} -DOPENTHREAD_CONFIG_LOG_OUTPUT=OT_LOG_OUTPUT_NONE"
|
||||
export CPPFLAGS="${options[*]}"
|
||||
reset_source
|
||||
make -f examples/Makefile-simulation THREAD_VERSION=1.1
|
||||
make -f examples/Makefile-simulation THREAD_VERSION=1.1 LOG_OUTPUT=NONE
|
||||
|
||||
# Build Thread 1.1 with full features and full logs
|
||||
export CPPFLAGS="${options[*]}"
|
||||
@@ -111,9 +111,9 @@ build_all_features()
|
||||
make -f examples/Makefile-simulation THREAD_VERSION=1.1 FULL_LOGS=1
|
||||
|
||||
# Build Thread 1.3 with full features and logs
|
||||
export CPPFLAGS="${options[*]} ${options_1_3[*]} -DOPENTHREAD_CONFIG_LOG_OUTPUT=OT_LOG_OUTPUT_NONE"
|
||||
export CPPFLAGS="${options[*]} ${options_1_3[*]}"
|
||||
reset_source
|
||||
make -f examples/Makefile-simulation THREAD_VERSION=1.3
|
||||
make -f examples/Makefile-simulation THREAD_VERSION=1.3 LOG_OUTPUT=NONE
|
||||
|
||||
# Build Thread 1.3 with full features and full logs
|
||||
export CPPFLAGS="${options[*]} ${options_1_3[*]}"
|
||||
|
||||
Reference in New Issue
Block a user