Move machine specific code to their directories

This commit is contained in:
Michal Sieron 2021-08-16 16:46:34 +02:00
parent 66c54de785
commit cf59481567
3 changed files with 3 additions and 4 deletions

View File

@ -43,10 +43,8 @@ export CROSSFILE
cross.txt: cross.txt:
@echo "$$CROSSFILE" > $@ @echo "$$CROSSFILE" > $@
$(PICOLIBC_DIRECTORY)/newlib/libc/machine/$(CPUFAMILY)/meson.build: libc.a: cross.txt
cp $(LIBC_DIRECTORY)/$(CPUFAMILY)-meson.build $@ cp $(LIBC_DIRECTORY)/$(CPUFAMILY)/* $(PICOLIBC_DIRECTORY)/newlib/libc/machine/$(CPUFAMILY)/
libc.a: cross.txt $(PICOLIBC_DIRECTORY)/newlib/libc/machine/$(CPUFAMILY)/meson.build
meson $(PICOLIBC_DIRECTORY) \ meson $(PICOLIBC_DIRECTORY) \
-Dmultilib=false \ -Dmultilib=false \
-Dpicocrt=false \ -Dpicocrt=false \

View File

@ -34,6 +34,7 @@
# #
srcs_machine = [ srcs_machine = [
'setjmp.S', 'setjmp.S',
'exception.c',
] ]
foreach target : targets foreach target : targets