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

copy picolibc to build folder, as it gets modified while building #2209

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TuxCoder
Copy link

this allows sharing or read only access to the python package

I face a build error while I tried to build it in nixos, as the system is there read-only by design.
The build script in pythondata-software-picolibc modifies the source code included.
This could also lead to conflicts when building multiple targets at once.

This patch copy the source code to the build folder to have a local copy.

Here is a more or less working example for an cyclone10lp - cyc1000 board with this patch:

https://git.o-g.at/FPGA/cyc1000_tests

A bit hacked together, as I'm still learning / testing.

this allows sharing or read only access to the python package
@TuxCoder
Copy link
Author

one ref to were the source gets modified:
https://github.com/enjoy-digital/litex/blob/master/litex/soc/software/libc/Makefile#L42

not sure if there are others

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.

1 participant