This website requires JavaScript.
Explore
Help
Sign In
RIOT-OS
/
RIOT
Watch
1
Star
0
Fork
0
You've already forked RIOT
mirror of
https://github.com/RIOT-OS/RIOT.git
synced
2024-12-29 04:50:03 +01:00
Code
Releases
Activity
f78c3751b9
RIOT
/
sys
/
posix
/
inet
/
Makefile
4 lines
53 B
Makefile
Raw
Normal View
History
Unescape
Escape
sys/posix: make posix module provide only headers. The build system contains several instances of INCLUDES += -I$(RIOTBASE)/sys/posix/include This is bypassing the module management system, by directly accesing headers without depending on a module. The module is the posix module. That line is also added when one of the posix_* modules is requested. According to the docs, the posix module provides headers only, but in reality there is also inet.c. This patch: - Moves `inet.c` into `posix_inet`, leaving `posix` as a headers-only module. - Rename `posix` as `posix_headers` to make it clear the module only includes headers. - Makes `posix_*` modules depend on `posix_headers`, thus removing the explicit `INCLUDES+=...` in `sys/Makefile.include`. - Ocurrences of `INCLUDES+=...` are replaced by an explicit dependency on `posix_headers`.
2018-11-09 15:04:45 +01:00
MODULE
=
posix_inet
sys/posix: factor inet_*to* from header into .c file
2017-09-20 22:11:04 +02:00
i
n
c
l
u
d
e
$(
RIOTBASE
)
/
M
a
k
e
f
i
l
e
.
b
a
s
e
Copy Permalink