Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Modular platform and app makefiles #2

Closed
EzraBrooks opened this issue Jul 1, 2017 · 1 comment
Closed

Suggestion: Modular platform and app makefiles #2

EzraBrooks opened this issue Jul 1, 2017 · 1 comment
Milestone

Comments

@EzraBrooks
Copy link

EzraBrooks commented Jul 1, 2017

One major improvement that could be made to cFE is the ability to specify which apps to build and which platforms to build for at runtime, instead of by changing the Makefiles. CACTUS has a rudimentary implementation of this (see CACTUS-Mission@bec0b57) so that we can declare THE_APPS as an environment variable. I think it would be a huge improvement to the build process to be able to optionally declare THE_APPS, PSP, BSP, and more at the make command line, i.e.

make THE_APPS="sample_lib sample_app"

Some tricks may need to be done to allow this to propagate to make sub-tasks, as those variables would only be accessible in the Makefile in the directory the command is run.

@the-other-james
Copy link
Contributor

There is better support for this in cFS 6.6 which uses cmake and can define target specific apps. 6.6 should be available for public release soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants