Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
0b10dccf
Commit
0b10dccf
authored
8 years ago
by
Kaspar Schleiser
Browse files
Options
Downloads
Patches
Plain Diff
core: adapt to Makefile.submodule
parent
933a7a3e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
Makefile.pseudomodules
+1
-3
1 addition, 3 deletions
Makefile.pseudomodules
core/Makefile
+6
-0
6 additions, 0 deletions
core/Makefile
core/mbox.c
+0
-4
0 additions, 4 deletions
core/mbox.c
core/msg.c
+0
-4
0 additions, 4 deletions
core/msg.c
core/thread_flags.c
+0
-2
0 additions, 2 deletions
core/thread_flags.c
with
7 additions
and
13 deletions
Makefile.pseudomodules
+
1
−
3
View file @
0b10dccf
...
...
@@ -3,9 +3,7 @@ PSEUDOMODULES += conn
PSEUDOMODULES
+=
conn_ip
PSEUDOMODULES
+=
conn_tcp
PSEUDOMODULES
+=
conn_udp
PSEUDOMODULES
+=
core_msg
PSEUDOMODULES
+=
core_mbox
PSEUDOMODULES
+=
core_thread_flags
PSEUDOMODULES
+=
core_%
PSEUDOMODULES
+=
emb6_router
PSEUDOMODULES
+=
gnrc_ipv6_default
PSEUDOMODULES
+=
gnrc_ipv6_router
...
...
This diff is collapsed.
Click to expand it.
core/Makefile
+
6
−
0
View file @
0b10dccf
# exclude submodule sources from *.c wildcard source selection
SRC
:=
$(
filter-out mbox.c msg.c thread_flags.c,
$(
wildcard
*
.c
))
# enable submodules
SUBMODULES
:=
1
include
$(RIOTBASE)/Makefile.base
This diff is collapsed.
Click to expand it.
core/mbox.c
+
0
−
4
View file @
0b10dccf
...
...
@@ -28,8 +28,6 @@
#define ENABLE_DEBUG (0)
#include
"debug.h"
#ifdef MODULE_CORE_MBOX
static
void
_wake_waiter
(
thread_t
*
thread
,
unsigned
irqstate
)
{
sched_set_status
(
thread
,
STATUS_PENDING
);
...
...
@@ -122,5 +120,3 @@ int _mbox_get(mbox_t *mbox, msg_t *msg, int blocking)
return
0
;
}
}
#endif
/* MODULE_CORE_MBOX */
This diff is collapsed.
Click to expand it.
core/msg.c
+
0
−
4
View file @
0b10dccf
...
...
@@ -34,8 +34,6 @@
#include
"debug.h"
#include
"thread.h"
#ifdef MODULE_CORE_MSG
static
int
_msg_receive
(
msg_t
*
m
,
int
block
);
static
int
_msg_send
(
msg_t
*
m
,
kernel_pid_t
target_pid
,
bool
block
,
unsigned
state
);
...
...
@@ -409,5 +407,3 @@ void msg_queue_print(void)
irq_restore
(
state
);
}
#endif
/* MODULE_CORE_MSG */
This diff is collapsed.
Click to expand it.
core/thread_flags.c
+
0
−
2
View file @
0b10dccf
...
...
@@ -26,7 +26,6 @@
#define ENABLE_DEBUG (0)
#include
"debug.h"
#ifdef MODULE_CORE_THREAD_FLAGS
static
thread_flags_t
_thread_flags_clear_atomic
(
thread_t
*
thread
,
thread_flags_t
mask
)
{
unsigned
state
=
irq_disable
();
...
...
@@ -133,4 +132,3 @@ void thread_flags_set(thread_t *thread, thread_flags_t mask)
irq_restore
(
state
);
}
}
#endif
/* MODULE_CORE_THREAD_FLAGS */
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