mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
ca5d13cc2a
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.
17 lines
388 B
Makefile
17 lines
388 B
Makefile
PKG_NAME=libcoap
|
|
PKG_URL=https://github.com/obgm/libcoap
|
|
PKG_VERSION=ef41ce5d02d64cec0751882ae8fd95f6c32bc018
|
|
PKG_LICENSE=BSD-2-Clause
|
|
|
|
include $(RIOTBASE)/pkg/pkg.mk
|
|
|
|
# GCC 7.x fails on (intentional) fallthrough, thus disable implicit-fallthrough.
|
|
CFLAGS += -Wno-implicit-fallthrough
|
|
|
|
ifeq (llvm,$(TOOLCHAIN))
|
|
CFLAGS += -Wno-format-nonliteral
|
|
endif
|
|
|
|
all:
|
|
"$(MAKE)" -C $(PKG_BUILDDIR)
|