You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/08/08 11:16:45 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #1535: CI: Allow forcing of debug symbols for test builds

xiaoxiang781216 commented on a change in pull request #1535:
URL: https://github.com/apache/incubator-nuttx/pull/1535#discussion_r467454717



##########
File path: tools/testbuild.sh
##########
@@ -239,6 +244,14 @@ function build {
     fail=1
   fi
 
+  # Enable debug symbols if requested. We do this after refresh

Review comment:
       should we move it to configure function?

##########
File path: tools/testbuild.sh
##########
@@ -239,6 +244,14 @@ function build {
     fail=1
   fi
 
+  # Enable debug symbols if requested. We do this after refresh
+  # to not trigger a failure by including this feature
+
+  if [ ${FORCESYMBOLS} -eq 1 ]; then
+    kconfig-tweak --file $nuttx/.config --enable CONFIG_DEBUG_SYMBOLS
+    makefunc olddefconfig

Review comment:
       don't need olddefconfig again since kconfig-tweak will do it?
   BTW, how about we replace sed with kconfig-tweak in other location?




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org