Skip to content

Conversation

elfprince13
Copy link
Contributor

templatize linker_script with shell variables and update the makefile to invoke envsubst.

n.b. I haven't tested this makefile verbatim - ported the changes over from my own makefile. would appreciate someone who uses the magic makefile to test as well.

@RoccoLoxPrograms
Copy link
Collaborator

I haven't been able to test this myself yet, but I'm pretty sure the CEDEV variable no longer gets defined by the toolchain in recent years, so I would assume that needs to be changed (unless I'm incorrect about that).

@elfprince13
Copy link
Contributor Author

so we don't actually need to set make variables, but I notice I actually forgot to set the environment variables in the shell for the envsubst command 🙃.

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

Successfully merging this pull request may close these issues.

2 participants