unix: Rename module sources per latest naming conventions (mod*.c).
This commit is contained in:
parent
cd31d826bf
commit
c39368427c
@ -28,12 +28,12 @@ LDFLAGS_MOD += -lreadline
|
|||||||
endif
|
endif
|
||||||
ifeq ($(MICROPY_MOD_TIME),1)
|
ifeq ($(MICROPY_MOD_TIME),1)
|
||||||
CFLAGS_MOD += -DMICROPY_MOD_TIME=1
|
CFLAGS_MOD += -DMICROPY_MOD_TIME=1
|
||||||
SRC_MOD += time.c
|
SRC_MOD += modtime.c
|
||||||
endif
|
endif
|
||||||
ifeq ($(MICROPY_MOD_FFI),1)
|
ifeq ($(MICROPY_MOD_FFI),1)
|
||||||
CFLAGS_MOD += `pkg-config --cflags libffi` -DMICROPY_MOD_FFI=1
|
CFLAGS_MOD += `pkg-config --cflags libffi` -DMICROPY_MOD_FFI=1
|
||||||
LDFLAGS_MOD += -ldl -lffi
|
LDFLAGS_MOD += -ldl -lffi
|
||||||
SRC_MOD += ffi.c
|
SRC_MOD += modffi.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ SRC_C = \
|
|||||||
main.c \
|
main.c \
|
||||||
gccollect.c \
|
gccollect.c \
|
||||||
file.c \
|
file.c \
|
||||||
socket.c \
|
modsocket.c \
|
||||||
$(SRC_MOD)
|
$(SRC_MOD)
|
||||||
|
|
||||||
OBJ = $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o))
|
OBJ = $(PY_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o))
|
||||||
|
Loading…
Reference in New Issue
Block a user