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

Fixed for eliminating picolibc in package writing #2133

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

Conversation

kaolpr
Copy link
Contributor

@kaolpr kaolpr commented Dec 3, 2024

While trying to make a reproducible LiteX build using Nix I found that libc Makefile copies CPU family files to $PICOLIBC_DIRECTORY/newlib/libc/machine/$(CPUFAMILY)/. This directory is a package directory and should not be altered during build (what was the cause of build failure due to insufficient permissions in my case).

This PR suggests a walk around that copies all contents of $PICOLIBC_DIRECTORY to picolibc_src in current build directory and copies libc CPU family files there.

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