Hi all,

I would like to come up with a way of having a *configuration-specific*
ROMFS image that is automatically generated as part of the build system.

I see that Xiang has recently made this commit,
https://github.com/apache/incubator-nuttx/pull/793/files
which definitely gets me closer to doing what I want.

But in this method, the etc/ folder is stored in the board src/ directory.
This means all configurations for this board have the same ROMFS image,
which is not what I'm looking to do.

The issue I see is that the only time the configuration folder is known is
when configure.sh is run.

I know that I could use the NSH_CUSTOMROMFS and point at a directory, but
this requires each configuration to then define a path to itself, and still
doesn't help me auto-generate as part of the build system.

Hoping someone might suggest something clever. Everything I've come up with
seems like a kludge. Maybe symlink the files into the board/ directory as
part of the configuration process?

Best,
Anthony

Reply via email to