This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit be599e015aa0d4babcf039af1eda55ddbec3f139 Author: Saravanan Sekar <[email protected]> AuthorDate: Thu Oct 29 18:03:48 2026 +0530 arch/tricore: Pass the TASKING system include paths with -I. tools/incdir gives every compiler other than the ZDS ones the GNU -isystem option for system include directories. cctc has no such option and takes the directory that follows as an input file, so every TASKING make build stops at its first source with "cctc E205: don't know what to do with <topdir>/include". Set INCSYSDIR_PREFIX to -I in the TASKING toolchain file. Signed-off-by: Saravanan Sekar <[email protected]> --- arch/tricore/src/common/ToolchainTasking.defs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/tricore/src/common/ToolchainTasking.defs b/arch/tricore/src/common/ToolchainTasking.defs index 544e3b8f915..65fbb9173a1 100644 --- a/arch/tricore/src/common/ToolchainTasking.defs +++ b/arch/tricore/src/common/ToolchainTasking.defs @@ -32,6 +32,11 @@ # reliable code generation. # +# cctc has no -isystem, which tools/incdir gives every compiler other +# than the ZDS ones, so pass the system include directories with -I. + +INCSYSDIR_PREFIX = -I + ifeq ($(CONFIG_DEBUG_CUSTOMOPT),y) ARCHOPTIMIZATION += $(CONFIG_DEBUG_OPTLEVEL) else ifeq ($(CONFIG_DEBUG_FULLOPT),y)
