Skip to content

Conversation

@havardAasen
Copy link

This PR is based on #3

This updates compile_component() to accept another parameter, specifying if it is a userspace or rt component.

The next commit also add the possibility to create man pages in the same function. This could have been split out into a separate component but since we already used halcompile it seemed like a nice place for it.

This also moves the RT target from 'hal/components/CMakeLists.txt'.
Easier to handle the source files when they are in the same place.
Several of the compiler definitions that was only useful to
ClassicLadder has been moved to this CMakeList, less pollution for
all the other targets that's being built.

The source code has also moved to GTK3.
There is one TODO in this file, we use 'sed' to update the shebang line,
I'm not sure if this is needed. Looking at the Git history, it's been
around for over 15 years.

With GNU Autoconf the shebang lines will have both the major and minor
Python version:
    #!/usr/bin/python3.11

With the current command in CMake:
    #!/usr/bin/python3
Needed since it is used in  other libraries with PIC.
@ev1313
Copy link
Collaborator

ev1313 commented Jan 18, 2024

Hello,

as in #5 we need to add another parameter to compile_component, I will first add a parameter there and afterwards rebase onto these changes.

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

Successfully merging this pull request may close these issues.

2 participants