20 lines
555 B
Makefile
20 lines
555 B
Makefile
# Define an equivalent for MICROPY_LONGINT_IMPL, to pass to $(MPY-TOOL) in py/mkrules.mk
|
|
# $(MPY-TOOL) needs to know what kind of longint to use (if any) to freeze long integers.
|
|
# This should correspond to the MICROPY_LONGINT_IMPL definition in mpconfigport.h.
|
|
|
|
ifeq ($(LONGINT_IMPL),NONE)
|
|
MPY_TOOL_LONGINT_IMPL = -mlongint-impl=none
|
|
endif
|
|
|
|
ifeq ($(LONGINT_IMPL),MPZ)
|
|
MPY_TOOL_LONGINT_IMPL = -mlongint-impl=mpz
|
|
endif
|
|
|
|
ifeq ($(LONGINT_IMPL),LONGLONG)
|
|
MPY_TOOL_LONGINT_IMPL = -mlongint-impl=longlong
|
|
endif
|
|
|
|
INTERNAL_LIBM = 1
|
|
|
|
USB_SERIAL_NUMBER_LENGTH = 32
|