Configuring an app


David Brown
 

In porting the Mynewt bootloader to Zepyr, I'd like to be able to have
configuration options for this new app.

Right now, the best I've been able to come up with is something like
having:

subdir-ccflags-y += -DENABLE_BLAH_BLAH

and the likes. This works reasonably well, but ends up making the
configuration for the app separate from the configuration of the rest
of Zephyr.

The builder of the app would then edit the Makefile and likely
either comment/un-comment, or change "-n" to "-y" to control these
options.

Is this the intended way of doing this kind of configuration, or is
there a desire for Kconfig to be able to use Kconfig files in an app?

Thanks,
David

Join devel@lists.zephyrproject.org to automatically receive all group messages.