mirror of
https://github.com/obgm/libcoap.git
synced 2026-10-31 23:15:48 +03:00
16 lines
561 B
Makefile
16 lines
561 B
Makefile
PKG_NAME=libcoap
|
|
PKG_URL=https://github.com/obgm/libcoap
|
|
PKG_VERSION=f176bf3c534bc0478a62cb744de11068073ed67f
|
|
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
|