1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

11 Commits

Author SHA1 Message Date
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
Gaëtan Harter
07e7426160
pkg/libcoap: remove non existing include directory 2018-06-12 14:08:17 +02:00
8d88781e05 make: pkg: make use of PKGDIRBASE 2017-03-10 14:18:44 +01:00
bec43ac340 pkg: move pkgdir to $BINDIRBASE/pkg/$BOARD/$PKG_NAME, do proper clean 2016-03-25 14:28:04 +01:00
190e2b4bb2 pkg: libcoap: adapt to use pkg.mk 2016-03-23 15:39:47 +01:00
c63a924778 pkg: adapt to RIOTPKG 2016-03-05 03:05:32 +01:00
Martine Lenders
a4905b72d4 posix: consolidate include paths 2015-09-07 16:46:48 +02:00
Ludwig Ortmann
ac21f3c54c make: couple include path and -I
This is necessary if includes have to be filtered, such as in native
to throw out RIOTs posix includes which interfere with system
includes.
2014-02-27 08:14:33 +01:00
Martin Lenders
2cc4682716 Fix libcoap make 2014-02-26 15:40:41 +01:00
René Kijewski
ee6f6830aa Apply @authmillenon's patch 2014-02-12 13:59:39 +01:00
René Kijewski
84cffaa0a0 Use include path convention for PKGs
Packages have to define a Makefile.include target in pkg/%/Makefile.
pkg/%/Makefile.include will be loaded after all other dependencies.
2014-02-12 13:59:39 +01:00