mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-15 12:44:55 +03:00
This means that apps need to have no knowledge of what IP support is available. Updates coap_uri_into_options() and coap_resolve_address_info() which have only been recently added to develop branch and are not in any previous release.
16 lines
564 B
Makefile
16 lines
564 B
Makefile
PKG_NAME=libcoap
|
|
PKG_URL=https://github.com/mrdeep1/libcoap
|
|
PKG_VERSION=317460c3e439fffde730ae4c635728f661fc1f0c
|
|
PKG_LICENSE=BSD-2-Clause
|
|
|
|
LIBCOAP_BUILD_DIR=$(BINDIR)/pkg/$(PKG_NAME)
|
|
LIBCOAP_SOURCE_DIR=$(RIOTBASE)/build/pkg/$(PKG_NAME)
|
|
LIBCOAP_INCLUDE_DIR=$(RIOTBASE)/build/pkg/$(PKG_NAME)/include/coap3
|
|
|
|
include $(RIOTBASE)/pkg/pkg.mk
|
|
|
|
all:
|
|
@cp $(LIBCOAP_SOURCE_DIR)/coap_config.h.riot $(LIBCOAP_SOURCE_DIR)/coap_config.h
|
|
@cp $(LIBCOAP_INCLUDE_DIR)/coap.h.riot $(LIBCOAP_INCLUDE_DIR)/coap.h
|
|
"$(MAKE)" -C $(LIBCOAP_SOURCE_DIR)/src -f $(CURDIR)/Makefile.libcoap
|