Skip to content
Snippets Groups Projects
Commit dfc89d02 authored by Alexandre Abadie's avatar Alexandre Abadie
Browse files

pkg/openthread: cleanup + fix implicit-fallthrough warning

parent e5a5978a
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,9 @@ $(info $$OPENTHREAD_ARGS is [${OPENTHREAD_ARGS}]) ...@@ -10,7 +10,9 @@ $(info $$OPENTHREAD_ARGS is [${OPENTHREAD_ARGS}])
.PHONY: all .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 all: git-download
cd $(PKG_BUILDDIR) && PREFIX="/" ./bootstrap cd $(PKG_BUILDDIR) && PREFIX="/" ./bootstrap
cd $(PKG_BUILDDIR) && CPP="$(CPP)" CC="$(CC)" CXX="$(CXX)"\ cd $(PKG_BUILDDIR) && CPP="$(CPP)" CC="$(CC)" CXX="$(CXX)"\
...@@ -29,4 +31,5 @@ all: git-download ...@@ -29,4 +31,5 @@ all: git-download
cp $(PKG_BUILDDIR)/output/lib/libopenthread-ftd.a ${BINDIR}/libopenthread.a cp $(PKG_BUILDDIR)/output/lib/libopenthread-ftd.a ${BINDIR}/libopenthread.a
cp $(PKG_BUILDDIR)/output/lib/libopenthread-cli-ftd.a ${BINDIR}/libopenthread-cli.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 sed -ie 's/BASE/_BASE/g' $(PKG_BUILDDIR)/output/include/openthread/types.h
include $(RIOTBASE)/pkg/pkg.mk include $(RIOTBASE)/pkg/pkg.mk
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment