mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
posix: move time functions to their own module
This commit is contained in:
parent
772ee47e28
commit
0a0bb86f4a
@ -434,6 +434,10 @@ ifneq (,$(filter posix_semaphore,$(USEMODULE)))
|
||||
USEMODULE += xtimer
|
||||
endif
|
||||
|
||||
ifneq (,$(filter posix_time,$(USEMODULE)))
|
||||
USEMODULE += xtimer
|
||||
endif
|
||||
|
||||
ifneq (,$(filter lwip_sixlowpan,$(USEMODULE)))
|
||||
USEMODULE += lwip_ipv6_autoconfig
|
||||
endif
|
||||
|
@ -22,6 +22,7 @@ USEMODULE += gnrc_ipv6_default
|
||||
USEMODULE += gnrc_udp
|
||||
USEMODULE += gnrc_sock_udp
|
||||
USEMODULE += posix_sockets
|
||||
USEMODULE += posix_time
|
||||
# Add also the shell, some shell commands
|
||||
USEMODULE += shell
|
||||
USEMODULE += shell_commands
|
||||
|
@ -7,6 +7,9 @@ endif
|
||||
ifneq (,$(filter posix_sockets,$(USEMODULE)))
|
||||
DIRS += posix/sockets
|
||||
endif
|
||||
ifneq (,$(filter posix_time,$(USEMODULE)))
|
||||
DIRS += posix/time
|
||||
endif
|
||||
ifneq (,$(filter pthread,$(USEMODULE)))
|
||||
DIRS += posix/pthread
|
||||
endif
|
||||
|
3
sys/posix/time/Makefile
Normal file
3
sys/posix/time/Makefile
Normal file
@ -0,0 +1,3 @@
|
||||
MODULE = posix_time
|
||||
|
||||
include $(RIOTBASE)/Makefile.base
|
@ -1,6 +1,6 @@
|
||||
APPLICATION = posix_sleep
|
||||
APPLICATION = posix_time
|
||||
include ../Makefile.tests_common
|
||||
|
||||
USEMODULE += posix
|
||||
USEMODULE += posix_time
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
Loading…
Reference in New Issue
Block a user