On Thu, Dec 19, 2024 at 7:20 PM Gregory Nutt <spudan...@gmail.com> wrote:
> On 12/19/2024 12:07 PM, Tomek CEDRO wrote:
> > On Thu, Dec 19, 2024 at 4:43 PM Gregory Nutt <spudan...@gmail.com> wrote:
> >> I remember some discussion about a PR to support traditional out-of-tree
> >> builds.  Was that not merged?
> > I do not recall but indeed having untouched git clone (or submodule)
> > with no symlinks inside sounds best.. most people prefer that way me
> > included :-)
>
> Perhaps someone with knowledge can correct me, but traditional
> out-of-tree builds that do not modify the source is only available with
> CMake and probably only for RISC-V and possibly ARM-64. Based on 'git
> log' comments.
>
> See also "Out-of-tree building" in
> https://nuttx.apache.org/docs/latest/quickstart/compiling_cmake.html

Hmm, maybe then we could add some sort of standard -1 level directory
to store out-of-tree stuff to be optionally searched by the
conventional Make build system? :-)

For instance:
./nuttx
./nuttx-apps
./nuttx-ext

This could allow searching for some additional boards/configs/apps in
the ./nuttx-ext (name example only) and if that dir does not exist
then its simply skipped?

Just an idea :-)

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Reply via email to