Move machine specific code to their directories
This commit is contained in:
parent
66c54de785
commit
cf59481567
|
@ -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 \
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
#
|
#
|
||||||
srcs_machine = [
|
srcs_machine = [
|
||||||
'setjmp.S',
|
'setjmp.S',
|
||||||
|
'exception.c',
|
||||||
]
|
]
|
||||||
|
|
||||||
foreach target : targets
|
foreach target : targets
|
Loading…
Reference in New Issue