Skip to content
Snippets Groups Projects
Commit 0a0bb86f authored by Martine Lenders's avatar Martine Lenders
Browse files

posix: move time functions to their own module

parent 772ee47e
No related branches found
No related tags found
No related merge requests found
...@@ -434,6 +434,10 @@ ifneq (,$(filter posix_semaphore,$(USEMODULE))) ...@@ -434,6 +434,10 @@ ifneq (,$(filter posix_semaphore,$(USEMODULE)))
USEMODULE += xtimer USEMODULE += xtimer
endif endif
ifneq (,$(filter posix_time,$(USEMODULE)))
USEMODULE += xtimer
endif
ifneq (,$(filter lwip_sixlowpan,$(USEMODULE))) ifneq (,$(filter lwip_sixlowpan,$(USEMODULE)))
USEMODULE += lwip_ipv6_autoconfig USEMODULE += lwip_ipv6_autoconfig
endif endif
......
...@@ -22,6 +22,7 @@ USEMODULE += gnrc_ipv6_default ...@@ -22,6 +22,7 @@ USEMODULE += gnrc_ipv6_default
USEMODULE += gnrc_udp USEMODULE += gnrc_udp
USEMODULE += gnrc_sock_udp USEMODULE += gnrc_sock_udp
USEMODULE += posix_sockets USEMODULE += posix_sockets
USEMODULE += posix_time
# Add also the shell, some shell commands # Add also the shell, some shell commands
USEMODULE += shell USEMODULE += shell
USEMODULE += shell_commands USEMODULE += shell_commands
......
...@@ -7,6 +7,9 @@ endif ...@@ -7,6 +7,9 @@ endif
ifneq (,$(filter posix_sockets,$(USEMODULE))) ifneq (,$(filter posix_sockets,$(USEMODULE)))
DIRS += posix/sockets DIRS += posix/sockets
endif endif
ifneq (,$(filter posix_time,$(USEMODULE)))
DIRS += posix/time
endif
ifneq (,$(filter pthread,$(USEMODULE))) ifneq (,$(filter pthread,$(USEMODULE)))
DIRS += posix/pthread DIRS += posix/pthread
endif endif
......
MODULE = posix_time
include $(RIOTBASE)/Makefile.base
File moved
APPLICATION = posix_sleep APPLICATION = posix_time
include ../Makefile.tests_common include ../Makefile.tests_common
USEMODULE += posix USEMODULE += posix_time
include $(RIOTBASE)/Makefile.include include $(RIOTBASE)/Makefile.include
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment