diff options
| author | TTLLDD <[email protected]> | 2026-09-01 17:39:11 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2026-09-03 09:20:30 +0800 |
| commit | 54e5164064dd7bf2e3f008109d173c36e45f8f69 (patch) | |
| tree | 74c549dfa9d2cf75e5faed05ef327ac77b78d3ee | |
| parent | b1e8365a6a85355f7944654b0e8900eb47c694df (diff) | |
[components][lwp] Remove terminal/ from global CPPPATH
The terminal subsystem's own headers (terminal.h, tty_config.h, ...) are
resolved by the compiler's quoted-include directory lookup for sources
inside components/lwp/terminal; nothing else depends on the path.
Stop polluting the global CPPPATH with this internal directory,
following the convention discussed in #10980.
| -rw-r--r-- | components/lwp/SConscript | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/lwp/SConscript b/components/lwp/SConscript index 1c97444e51..19da1baf1f 100644 --- a/components/lwp/SConscript +++ b/components/lwp/SConscript @@ -45,10 +45,11 @@ if platform in platform_file.keys(): # support platforms CPPPATH += [cwd + '/arch/' + arch + '/' + cpu] # Terminal I/O Subsystem +# terminal/*.c resolve their own headers via quoted-include directory lookup; +# keep the internal path out of the global CPPPATH termios_path = ['./terminal/', './terminal/freebsd/'] for item in termios_path: src += Glob(item + '*.c') -CPPPATH += ['./terminal/'] # Remove optional sources if not GetDepend(['LWP_USING_RUNTIME']): |
