[drivers][touch] Remove redundant path from global CPPPATH

The touch framework has no private headers in its source directory, so
adding the directory to CPPPATH is unnecessary. Remove it to avoid
polluting the global header search path, as discussed in #10980.
This commit is contained in:
zhangyuyang authored and Rbb666 committed 2026-10-17 16:42:48 +08:00
1 parent fc64f78669
commit 8159dc81b7
1 file changed
+1 -1
+1 -1
View File
@@ -4,7 +4,7 @@ from building import *
cwd = GetCurrentDir()
src = ['dev_touch.c']
CPPPATH = [cwd, cwd + '/../include']
CPPPATH = [cwd + '/../include']
group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_TOUCH', 'RT_USING_DEVICE'], CPPPATH = CPPPATH)