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 #145, Update RTEMS CMake module #146

Merged
merged 1 commit into from
Apr 14, 2020

Conversation

jphickey
Copy link
Contributor

Describe the contribution
Addresses various compatibility/usability issues observed during testing

  • Correctly set/export the CMAKE_EXE_EXPORTS_C_FLAG
  • Incorporate the system specs directly into the COMPILE_OBJECT templates
    so these don't need to be specified by the toolchain or CMAKE_C_FLAGS
  • Similarly include the always-needed linker flags flags for entry point
    and relocation address into the linker command template

Fixes #145

Testing performed
Build for i686-rtems4.11 (in combination with nasa/cFE#573).
Execute CFE and perform basic sanity check (boots, accepts cmd msgs)

Expected behavior changes
RTEMS builds successfully without errors

System(s) tested on
Ubuntu 18.04 LTS 64 bit build host with cross tools for RTEMS 4.11.3/pc686 built according to README.

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

Addresses various compatibility/usability issues observed during testing

- Correctly set/export the CMAKE_EXE_EXPORTS_C_FLAG
- Incorporate the system specs directly into the COMPILE_OBJECT templates
  so these don't need to be specified by the toolchain or CMAKE_C_FLAGS
- Similarly include the always-needed linker flags flags for entry point
  and relocation address into the linker command template
@skliper
Copy link
Contributor

skliper commented Apr 2, 2020

Looks fine to me but I haven't built for RTEMS in years. Maybe @acudmore could review?

@skliper skliper requested a review from a user April 2, 2020 19:03
@jphickey jphickey added the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Apr 6, 2020
@astrogeco
Copy link
Contributor

CCB 20200408 - APPROVED

@astrogeco astrogeco added CCB - 20200408 CCB:Approved Indicates Approval by CCB and removed CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels Apr 8, 2020
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@astrogeco astrogeco changed the base branch from master to integration-candidate April 14, 2020 21:30
@astrogeco astrogeco merged commit c347d8c into nasa:integration-candidate Apr 14, 2020
@jphickey jphickey deleted the fix-145-rtems-module branch May 14, 2020 14:56
@skliper skliper added this to the 1.5.0 milestone Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CCB:Approved Indicates Approval by CCB
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RTEMS CMake module does not define all required outputs
3 participants