mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
software/libc/Makefile: Use proper CFLAGS to avoid picolibc warnings and cleanup a bit Makefile.
This commit is contained in:
parent
c0b54f0105
commit
ae1d43b965
1 changed files with 11 additions and 8 deletions
|
@ -5,6 +5,9 @@ all: libc.a stdio.c.o missing.c.o
|
|||
|
||||
CPUFAMILY=
|
||||
|
||||
CFLAGS = $(COMMONFLAGS) -fexceptions -Wpragmas
|
||||
|
||||
# FIXME: Generate from Python.
|
||||
ifneq ($(findstring $(CPU), serv femtorv picorv32 minerva vexriscv vexriscv_smp ibex cv32e40p rocket blackparrot),)
|
||||
CPUFAMILY = riscv
|
||||
else ifeq ($(CPU), lm32)
|
||||
|
|
Loading…
Reference in a new issue