unix/Makefile: Move coverage.c and coveragecpp.cpp to coverage variant.
So that g++ is not needed to build a non-coverage unix variant. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
dbb13104ca
commit
a866f868f8
@ -220,7 +220,7 @@ SRC_MOD += modjni.c
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# source files
|
# source files
|
||||||
SRC_C = \
|
SRC_C += \
|
||||||
main.c \
|
main.c \
|
||||||
gccollect.c \
|
gccollect.c \
|
||||||
unix_mphal.c \
|
unix_mphal.c \
|
||||||
@ -232,7 +232,6 @@ SRC_C = \
|
|||||||
modtime.c \
|
modtime.c \
|
||||||
moduselect.c \
|
moduselect.c \
|
||||||
alloc.c \
|
alloc.c \
|
||||||
coverage.c \
|
|
||||||
fatfs_port.c \
|
fatfs_port.c \
|
||||||
mpbthciport.c \
|
mpbthciport.c \
|
||||||
mpbtstackport_common.c \
|
mpbtstackport_common.c \
|
||||||
@ -249,7 +248,6 @@ LIB_SRC_C += $(addprefix lib/,\
|
|||||||
)
|
)
|
||||||
|
|
||||||
SRC_CXX += \
|
SRC_CXX += \
|
||||||
coveragecpp.cpp \
|
|
||||||
$(SRC_MOD_CXX)
|
$(SRC_MOD_CXX)
|
||||||
|
|
||||||
OBJ = $(PY_O)
|
OBJ = $(PY_O)
|
||||||
|
@ -19,3 +19,6 @@ MICROPY_ROM_TEXT_COMPRESSION = 1
|
|||||||
MICROPY_VFS_FAT = 1
|
MICROPY_VFS_FAT = 1
|
||||||
MICROPY_VFS_LFS1 = 1
|
MICROPY_VFS_LFS1 = 1
|
||||||
MICROPY_VFS_LFS2 = 1
|
MICROPY_VFS_LFS2 = 1
|
||||||
|
|
||||||
|
SRC_C += coverage.c
|
||||||
|
SRC_CXX += coveragecpp.cpp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user