From 0930008e389e363f38e3028b263bebdb110bd0ef Mon Sep 17 00:00:00 2001 From: zhangyuyang Date: Fri, 16 Oct 2026 15:32:33 +0800 Subject: [PATCH] [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. --- components/drivers/touch/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/drivers/touch/SConscript b/components/drivers/touch/SConscript index ba646b0a80d4..d4083fbdd70e 100644 --- a/components/drivers/touch/SConscript +++ b/components/drivers/touch/SConscript @@ -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)