On Sat, May 25, 2024 at 8:58 PM Gregory Nutt <spudan...@gmail.com> wrote:

> > Seems like dhara.c was integrated into mainline, but they didn't submit
> > support to YAFFS (if I remember correctly it was because YAFFS requires
> > license payment for commercial usage).
>
> There no references to either under fs/.
>
> The YAFFS website is not responding.  This is what I get about licensing
> from Wikipedia:
>
> "The YAFFS codebase is licensed both under the GPL
> <https://en.wikipedia.org/wiki/GNU_General_Public_License> and under
> per-product licenses available from Aleph One."
> https://en.wikipedia.org/wiki/YAFFS
>
> Neither of those are compatible with NuttX in the source tree.
>


The apps repo has some configurations to build with 3rd party projects,
where we don't include the 3rd party sources in our repo.

Instead, we only develop a build script and Kconfig. It's a sort of "stub"
(for lack of a better term).

If that item is configured, our build script will download the sources from
the 3rd party (I think the URL is configured in Kconfig, so developers can
locally host all their dependencies) and then compile it with the rest of
their build.

See, for example, in the nuttx-apps repo: math/libtommath.

In the case of YAFFS, if someone wants to implement such a stub, it should
depend on ALLOW_GPL_COMPONENTS, so that the developer who chooses to use it
will first have to explicitly accept that license.

Cheers,
Nathan

Reply via email to