1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/dist
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
..
pythonlibs dist/pythonlibs: provide unittest TestCase wrapper for testrunner 2019-01-29 21:16:39 +01:00
testbed-support testbed-support: add nrf51dk to supported archis 2018-12-12 15:36:56 +01:00
tests/if_lib doc: Update copywrites it include HAW 2019-01-28 09:08:50 +01:00
tools tests/compile_and_test_for_board: remove duplicate 'default' in help 2019-03-06 14:47:45 +01:00
ar-wrapper make: OSX: don't fail for empty .a archives 2014-06-24 20:29:32 +02:00
empty.a make: OSX: don't fail for empty .a archives 2014-06-24 20:29:32 +02:00
gdbinit-docker Makefile.include: Add docker target. 2015-04-24 16:03:52 +02:00
Makefile sys/posix: make posix module provide only headers. 2019-03-20 12:57:13 +01:00