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:
@echo "$$CROSSFILE" > $@
$(PICOLIBC_DIRECTORY)/newlib/libc/machine/$(CPUFAMILY)/meson.build:
cp $(LIBC_DIRECTORY)/$(CPUFAMILY)-meson.build $@
libc.a: cross.txt $(PICOLIBC_DIRECTORY)/newlib/libc/machine/$(CPUFAMILY)/meson.build
libc.a: cross.txt
cp $(LIBC_DIRECTORY)/$(CPUFAMILY)/* $(PICOLIBC_DIRECTORY)/newlib/libc/machine/$(CPUFAMILY)/
meson $(PICOLIBC_DIRECTORY) \
-Dmultilib=false \
-Dpicocrt=false \

View File

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