Add missing definitions if target is microwatt

Picolibc compilation for powerpc was missing some defines.
This adds them to gcc parameters
This commit is contained in:
Michal Sieron 2021-08-04 16:33:08 +02:00
parent ba1d20f2ad
commit 53135eb7bc
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ else ifeq ($(CPU), mor1kx)
CPUFAMILY = or1k
else ifeq ($(CPU), microwatt)
CPUFAMILY = powerpc
CFLAGS += -DLONG_LONG_MIN=LLONG_MIN -DLONG_LONG_MAX=LLONG_MAX -DLONG_LONG_MIN=LLONG_MIN -DULONG_LONG_MAX=ULLONG_MAX
else ifeq ($(CPU), zynq7000)
CPUFAMILY = arm
else