JianyuWang0623 commented on code in PR #4109:
URL: https://github.com/apache/nuttx-apps/pull/4109#discussion_r4662062137


##########
system/toybox/CMakeLists.txt:
##########
@@ -133,8 +133,8 @@ if(CONFIG_SYSTEM_TOYBOX)
     execute_process(
       COMMAND
         ${CMAKE_COMMAND} -E env "KCONFIG_ALLCONFIG=${TOYBOX_ALLCONFIG}"
-        "CC=${TOYBOX_HOSTCC}" "HOSTCC=${TOYBOX_HOSTCC}" "CROSS_COMPILE=" bash
-        scripts/genconfig.sh -n
+        "KCONFIG_CONFIG=${TOYBOX_DIR}/.config" "CC=${TOYBOX_HOSTCC}"

Review Comment:
   Done, toybox's config now goes to the toybox/ subdir of the CMake binary
   dir. generated/ and the fetched source still live under the apps tree;
   I'd prefer to handle a full out-of-tree build in a follow-up.



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