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

50 Commits

Author SHA1 Message Date
Gaëtan Harter
ca5d13cc2a pkg/*: adapt to new state file targets
Prepare for handling pkg state with files. So it requires having the
path defined before declaring targets. In addition, it cleans up the
old git-download target.
2020-01-08 20:55:19 +01:00
aa8d8a8731
pkg/libcoap: cleanup Makefile.dep
There's no need to load dependency modules if the package is used. This is already managed by the build system
2019-11-18 08:55:47 +01:00
fa700de4d5
pkg/libcoap: add arch 32bit requirement 2019-10-30 11:43:39 +01:00
ce9b1e3826 pkg: remove not needed git-downloaded dependencies
This is implicitly done by the "pkg-prepare"-step of the main make
instance.
2019-06-28 09:38:44 +02:00
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
Martine Lenders
6a693b4b2d pkg: libcoap: ignore -Wformat-nonliteral 2018-08-03 17:56:22 +02:00
Gaëtan Harter
07e7426160
pkg/libcoap: remove non existing include directory 2018-06-12 14:08:17 +02:00
smlng
a6cd5ca90c pkg/libcoap: ignore implicit fallthrough errors by GCC 7 2018-01-24 19:43:45 +01:00
smlng
3692421052 pkg/libcoap: update patches for git >=2.15.x 2018-01-22 15:50:44 +01:00
smlng
5939cd4dbe pkg/libcoap: fix implicit-function-declaration of strnlen 2017-11-17 18:42:41 +01:00
70e4940ec5 pkg: fix Makefile.dep indentation 2017-09-06 16:10:07 +02:00
8d88781e05 make: pkg: make use of PKGDIRBASE 2017-03-10 14:18:44 +01:00
Martine Lenders
1ccdc4643f posix_sockets: port to sock 2017-01-24 15:17:15 +01:00
c413fca8c7 pkg: libcoap: add license information, cleanup 2017-01-08 21:55:46 +01:00
444054041c pkg: move module dependencies to pkg/libcoap/Makefile.dep 2016-09-29 15:41:12 +02:00
bec43ac340 pkg: move pkgdir to $BINDIRBASE/pkg/$BOARD/$PKG_NAME, do proper clean 2016-03-25 14:28:04 +01:00
Martine Lenders
8e360aa97f pkg: clarify that current download target is only for git 2016-03-24 00:57:14 +01:00
190e2b4bb2 pkg: libcoap: adapt to use pkg.mk 2016-03-23 15:39:47 +01:00
19cf3ed293 pkg: remove obsolete .gitignore files 2016-03-23 14:35:08 +01:00
cef984bcdf pkg: move patches to patches/ subdirs 2016-03-23 14:35:08 +01:00
Oleg Hahm
16a3f131a3 Merge pull request #5112 from kaspar030/use_git_cache
make: pkg: introduce git-cache
2016-03-21 22:32:33 +01:00
812da2f0e7 pkg: adapt to use git-cache 2016-03-21 21:22:33 +01:00
DipSwitch
e159ee741d make: Remove stray board/Makefile.include's to avoid loops like: CFLAGS += CFLAGS 2016-03-17 22:16:13 +01:00
c63a924778 pkg: adapt to RIOTPKG 2016-03-05 03:05:32 +01:00
Martine Lenders
4dc851244d pkg: unify git paradigms for packages 2016-01-26 23:22:47 +01:00
Ludwig Knüpfer
eda6328e21 documentation: update my name (Ortmann -> Knüpfer) 2015-09-27 18:58:30 +02:00
Cenk Gündoğan
14b1ad3f66 pkg/libcoap: delete unused function check_opt_size 2015-09-16 21:08:46 +02:00
Martine Lenders
a4905b72d4 posix: consolidate include paths 2015-09-07 16:46:48 +02:00
Oleg Hahm
733d630e04 libcoap: fix bracketing in PDU parsing w/ debug 2015-08-07 10:03:28 +02:00
Oleg Hahm
1fe0c158f6 libcoap: fix bracketing for option parsing w/ debug 2015-08-07 10:03:28 +02:00
Oleg Hahm
ee44d7367d libcoap: do not misuse NDEBUG macro 2015-08-07 10:03:28 +02:00
Oleg Hahm
6a2e89a015 libcoap: updated patches enumeration 2015-08-07 10:03:11 +02:00
Oleg Hahm
5ae84cdcb9 libcoap: switched to new "official" Github repo 2015-07-20 19:03:43 +02:00
Oleg Hahm
2f306226de libcoap: switch to the RIOT-OS mirror 2015-07-20 18:02:41 +02:00
Joakim Gebart
336a450106 pkg: Add .gitattributes to ignore whitespace errors inside some included patch files. 2015-05-09 11:35:15 +02:00
Martine Lenders
0eb2d78dda doc: use my real name 2015-02-08 18:52:16 +01:00
Ludwig Ortmann
5a21631643 pkg/libcoap: call "$(MAKE)", not make 2014-11-24 15:54:49 +01:00
Oleg Hahm
20ce2aee8b cpu: rename arm_common to arm7_common
To be more accurate with the naming and avoid confusions.
2014-11-21 20:27:19 +01:00
Fabian Nack
07fff37efe drivers - cc110x_ng: rename ng driver to legacy 2014-10-24 09:55:31 +02:00
Cenk Gündoğan
710c7e6cf6 transport_layer: Splitting UDP and TCP
Currently, the tcp and udp implementations are bound to each other in a
module called *destiny*. Thus, when using only one of them then the
other one gets also compiled into the binary and initialized,
which results in unnecessary RAM usage and workload for the CPU.

The approach in this PR defines a common module named *socket_base*,
which contains functions used by the posix layer. Compiled by it's own,
those functions return negative error codes, to symbolize upper layers
that they are not supported. When also including the modules *udp* or
*tcp* respectively, functions from *socket_base* get overwritten with the
correct functionality.

Defining *udp* or *tcp* in a Makefile also includes *socket_base*.
Defining *pnet* in a Makefile also includes *socket_base*.
2014-09-11 20:07:46 +02:00
Ludwig Ortmann
ccfe6d7bb7 pkg/libcoap: fix copmilation problems
Apparently all that whitespace was needed after all.
Next convert to new-style function declrations.
Also, don't prevent make from noticing a failing patch.
2014-07-15 18:56:52 +02:00
Martin Lenders
2362623490 Fix trailing whitespaces
Fixes #1138
2014-05-26 14:54:23 +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
Martin Lenders
24b63bd9f0 Update libcoap 2014-02-23 20:57:17 +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
Ludwig Ortmann
2525920426 remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
Ludwig Ortmann
6fcf7ec089 fix libcoap checkout target
Fixes the following error:
make[1]: Entering directory '/foo/RIOT/pkg/libcoap'
git clone http://git.code.sf.net/p/libcoap/code /foo/RIOT/pkg/libcoap/libcoap && \
	cd /foo/RIOT/pkg/libcoap/libcoap && git checkout 89acaa6775ca3a4aedea510557e6b9c0c01fa5db
fatal: destination path '/foo/RIOT/pkg/libcoap/libcoap' already exists and is not an empty directory.
Makefile:25: recipe for target '/foo/RIOT/pkg/libcoap/libcoap' failed
2014-01-28 18:52:55 +01:00
Martin Lenders
55b1c27c38 Add libcoap as BSD ports-like package 2014-01-17 15:54:18 +01:00