luojia65 commented on code in PR #21875:
URL: https://github.com/apache/nuttx/pull/21875#discussion_r4595559406


##########
arch/risc-v/src/sbi/CMakeLists.txt:
##########
@@ -20,14 +20,9 @@
 #
 # 
##############################################################################
 
-if(CONFIG_NUTTSBI)
-
-  set(SRCS sbi_head.S sbi_mtrap.S sbi_vectors.S sbi_start.c)
-
-  list(APPEND SRCS sbi_mtimer.c sbi_mexception.c sbi_mcall.c sbi_mscratch.c)
-
-  list(APPEND SRCS sbi_ipi.c)
-
-  target_sources(arch PRIVATE ${SRCS})
-
+if(CONFIG_OPENSBI)
+  target_include_directories(arch BEFORE PUBLIC 
opensbi/opensbi-3rdparty/include)

Review Comment:
   Declared in 
[`arch/risc-v/src/sbi/opensbi/CMakeLists.txt`](https://github.com/apache/nuttx/pull/21875/changes#diff-47329df392c3178bfeae120a0447e58ddf749d43760e8fc5c859a7dbaeab1c98).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to