diff options
author | Lukasz Czechowski <lukasz.czechowski@thaumatec.com> | 2025-05-20 13:36:42 +0200 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2025-06-06 17:12:20 +0800 |
commit | 0fb68337f2482f0397681b92d13bcfbf3741cd06 (patch) | |
tree | cff78ec0199c1f70fab67e7c4518cdac3e587fbe /scripts/dtc/pylibfdt/setup.py | |
parent | 6773a46f1131fe95bcddb7472635e07a5fd249f8 (diff) |
debug_uart: Replace debug functions with dummies if CONFIG_DEBUG_UART is not set
In case DEBUG UART is not used, define dummy macros replacing
the actual function implementations that will not be available.
This allows to compile code and avoid linker errors.
Redefine the DEBUG_UART_FUNCS macro if DEBUG UART is not available,
to avoid compilation errors.
Signed-off-by: Lukasz Czechowski <lukasz.czechowski@thaumatec.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'scripts/dtc/pylibfdt/setup.py')
0 files changed, 0 insertions, 0 deletions