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

Fix #2296, add option to link to generated files #2300

Merged
merged 1 commit into from
Apr 25, 2023

Conversation

jphickey
Copy link
Contributor

Checklist (Please check before submitting)

Describe the contribution
Update the "generate_config_includefile" to be aware of generated files. This should not call cfe_locate_implementation_file() in this context because the file may not exist at the time. For this type of use case it should just directly link the file without any checking.

Fixes #2296

Testing performed
Build HS (with additional patch) that needs this

Expected behavior changes
Files that are expected to be generated (e.g. via EDS tool) do not need to exist.

System(s) tested on
Debian

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

Update the "generate_config_includefile" to be aware of generated files.
This should not call cfe_locate_implementation_file() in this context
because the file may not exist at the time.  For this type of use case
it should just directly link the file without any checking.
@jphickey jphickey added the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Apr 20, 2023
@dzbaker dzbaker added CCB:Approved Indicates code review and approval by community CCB and removed CCB:Ready Ready for discussion at the Configuration Control Board (CCB) labels Apr 20, 2023
dzbaker added a commit to nasa/cFS that referenced this pull request Apr 25, 2023
*Combines:*

cFE v7.0.0-rc4+dev276
osal v6.0.0-rc4+dev213
PSP v1.6.0-rc4+dev76

**Includes:**

*cFE*
- nasa/cFE#2299
- nasa/cFE#2300
- nasa/cFE#2298

*osal*
- nasa/osal#1383

*PSP*
- nasa/PSP#391

Co-authored by: Joseph Hickey <[email protected]>
Co-authored by: Dylan Z. Baker <[email protected]>
@dzbaker dzbaker mentioned this pull request Apr 25, 2023
2 tasks
@dzbaker dzbaker merged commit 88a2695 into nasa:main Apr 25, 2023
dzbaker added a commit to nasa/cFS that referenced this pull request Apr 25, 2023
*Combines:*

cFE v7.0.0-rc4+dev276
osal v6.0.0-rc4+dev213
PSP v1.6.0-rc4+dev76

**Includes:**

*cFE*
- nasa/cFE#2299
- nasa/cFE#2300
- nasa/cFE#2298

*osal*
- nasa/osal#1383

*PSP*
- nasa/PSP#391

Co-authored by: Joseph Hickey <[email protected]>
Co-authored by: Dylan Z. Baker <[email protected]>
@jphickey jphickey deleted the fix-2296-genfile branch April 28, 2023 17:41
@dmknutsen dmknutsen added this to the Equuleus milestone May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CCB:Approved Indicates code review and approval by community CCB enhancement Equuleus-rc1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add option to generate an include wrapper for files that do not yet exist
4 participants