1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/cn-cbor
Juan Carrano 6b766c3cd3 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`.
2019-03-20 12:57:13 +01:00
..
doc.txt pkg/cn-cbor: change ingroup directive 2018-10-05 15:34:49 +02:00
Makefile pkg/cn-cbor: Bump version 2018-04-12 21:07:43 +02:00
Makefile.cn-cbor pkg/cn-cbor: Bump version 2018-04-12 21:07:43 +02:00
Makefile.dep sys/posix: make posix module provide only headers. 2019-03-20 12:57:13 +01:00
Makefile.include pkg/cn-cbor: compile with context pointer support 2018-04-16 15:27:43 +02:00