From dfc89d02562aaa93032470bf8558cca0b70d7ef7 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie <alexandre.abadie@inria.fr> Date: Thu, 22 Feb 2018 09:14:25 +0100 Subject: [PATCH] pkg/openthread: cleanup + fix implicit-fallthrough warning --- pkg/openthread/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/openthread/Makefile b/pkg/openthread/Makefile index 8d59f1dec3..4456d3da21 100644 --- a/pkg/openthread/Makefile +++ b/pkg/openthread/Makefile @@ -10,7 +10,9 @@ $(info $$OPENTHREAD_ARGS is [${OPENTHREAD_ARGS}]) .PHONY: all -OPENTHREAD_COMMON_FLAGS=-fdata-sections -ffunction-sections -Os +OPENTHREAD_COMMON_FLAGS = -fdata-sections -ffunction-sections -Os +OPENTHREAD_COMMON_FLAGS += -Wno-implicit-fallthrough + all: git-download cd $(PKG_BUILDDIR) && PREFIX="/" ./bootstrap cd $(PKG_BUILDDIR) && CPP="$(CPP)" CC="$(CC)" CXX="$(CXX)"\ @@ -29,4 +31,5 @@ all: git-download cp $(PKG_BUILDDIR)/output/lib/libopenthread-ftd.a ${BINDIR}/libopenthread.a cp $(PKG_BUILDDIR)/output/lib/libopenthread-cli-ftd.a ${BINDIR}/libopenthread-cli.a sed -ie 's/BASE/_BASE/g' $(PKG_BUILDDIR)/output/include/openthread/types.h + include $(RIOTBASE)/pkg/pkg.mk -- GitLab