lucasssvaz commented on code in PR #9400:
URL: https://github.com/apache/nuttx/pull/9400#discussion_r1212035355


##########
tools/configure.sh:
##########
@@ -307,3 +309,12 @@ fi
 # reconstitued before they can be used.
 
 ${TOPDIR}/tools/sethost.sh $host $*
+
+# Update the CONFIG_BASE_DEFCONFIG setting in the .info file
+
+posboardconfig=`echo "${boardconfig}" | sed -e 's/\\\\/\\//g'`
+echo "CONFIG_BASE_DEFCONFIG=\"$posboardconfig\"" > "${info_file}"
+
+# Save the original configuration file for later comparison

Review Comment:
   The .config.old contains a copy of the previous config applied and not the 
original one. If you do more than one change to the configuration it won't 
represent the original one anymore.
   
   We will use this to detect if the configuration was changed or one of the 
defconfigs are being used. (similar to the version file)



-- 
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: commits-unsubscr...@nuttx.apache.org

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

Reply via email to