Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
micropython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
card10
micropython
Commits
c3936842
Commit
c3936842
authored
11 years ago
by
Paul Sokolovsky
Browse files
Options
Downloads
Patches
Plain Diff
unix: Rename module sources per latest naming conventions (mod*.c).
parent
cd31d826
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
unix/Makefile
+3
-3
3 additions, 3 deletions
unix/Makefile
unix/modffi.c
+0
-0
0 additions, 0 deletions
unix/modffi.c
unix/modsocket.c
+0
-0
0 additions, 0 deletions
unix/modsocket.c
unix/modtime.c
+0
-0
0 additions, 0 deletions
unix/modtime.c
with
3 additions
and
3 deletions
unix/Makefile
+
3
−
3
View file @
c3936842
...
@@ -28,12 +28,12 @@ LDFLAGS_MOD += -lreadline
...
@@ -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
+=
mod
time.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
+=
mod
ffi.c
endif
endif
...
@@ -50,7 +50,7 @@ SRC_C = \
...
@@ -50,7 +50,7 @@ SRC_C = \
main.c
\
main.c
\
gccollect.c
\
gccollect.c
\
file.c
\
file.c
\
socket.c
\
mod
socket.c
\
$(
SRC_MOD
)
$(
SRC_MOD
)
OBJ
=
$(
PY_O
)
$(
addprefix
$(
BUILD
)
/,
$(
SRC_C:.c
=
.o
))
OBJ
=
$(
PY_O
)
$(
addprefix
$(
BUILD
)
/,
$(
SRC_C:.c
=
.o
))
...
...
This diff is collapsed.
Click to expand it.
unix/ffi.c
→
unix/
mod
ffi.c
+
0
−
0
View file @
c3936842
File moved
This diff is collapsed.
Click to expand it.
unix/socket.c
→
unix/
mod
socket.c
+
0
−
0
View file @
c3936842
File moved
This diff is collapsed.
Click to expand it.
unix/time.c
→
unix/
mod
time.c
+
0
−
0
View file @
c3936842
File moved
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment