[DISCUSS] Out-of-tree builds should be standard?

2023-08-24 Thread Nathan Hartman
PR # 10328 is bringing support for STM32 MCUs that have two different kinds of cores on chip: Cortex M7 and Cortex M4. In other words, AMP-style (Asymmetric Multi Processing) chip. This requires building NuttX twice, once for each core, with two different configs. In the GitHub comments, it was me

Re: [DISCUSS] Out-of-tree builds should be standard?

2023-08-24 Thread Tomek CEDRO
Out-of-tree build is the default for me in various projects. I like to have git submodules / dependencies untouched. FreeBSD uses (BSD) make and allows out of tree builds and it is possible to specify WRKDIRPREFIX for instance in tmpfs located in RAM. Kernel build also allows passing another varia