mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
Fixed for eliminating picolibc in package writing
This commit is contained in:
parent
ec06bf5955
commit
8ae3a6d02e
1 changed files with 4 additions and 2 deletions
|
@ -39,11 +39,13 @@ cross.txt:
|
|||
@echo "$$CROSSFILE" > $@
|
||||
|
||||
__libc.a: cross.txt
|
||||
cp -a $(PICOLIBC_DIRECTORY) $(BUILDINC_DIRECTORY)/../picolibc_src
|
||||
|
||||
if [ -d "$(LIBC_DIRECTORY)/$(CPUFAMILY)" ]; then \
|
||||
cp $(LIBC_DIRECTORY)/$(CPUFAMILY)/* $(PICOLIBC_DIRECTORY)/newlib/libc/machine/$(CPUFAMILY)/ ;\
|
||||
cp $(LIBC_DIRECTORY)/$(CPUFAMILY)/* $(BUILDINC_DIRECTORY)/../picolibc_src/newlib/libc/machine/$(CPUFAMILY)/ ;\
|
||||
fi
|
||||
|
||||
meson $(PICOLIBC_DIRECTORY) \
|
||||
meson $(BUILDINC_DIRECTORY)/../picolibc_src \
|
||||
-Dmultilib=false \
|
||||
-Dpicocrt=false \
|
||||
-Datomic-ungetc=false \
|
||||
|
|
Loading…
Reference in a new issue