Zepp-Hanzj opened a new pull request, #19310:
URL: https://github.com/apache/nuttx/pull/19310

   ## Summary
   
   `SDIR_template` and `MAKE_template` in `tools/Config.mk` did not pass 
`TOPDIR` to recursive makes.  When a sub-make needed to include 
`$(TOPDIR)/Make.defs` (e.g. to define `SDIR_template` for further recursion 
into nested subdirectories), `TOPDIR` was missing and the include silently 
failed via `-include`.
   
   ## Changes
   
   Pass `TOPDIR` in both templates so recursive makes have full access to the 
build system configuration.
   
   ## Motivation
   
   Companion PR for apache/nuttx-apps#3585 which fixes distclean for partial 
builds.  Without TOPDIR being passed, the distclean targets defined inline in 
Directory.mk cannot recurse into sub-subdirectories.
   
   Signed-off-by: hanzhijian <[email protected]>


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