1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pkg: Remove OONF API package

The package has been flagged as deprecated in
07099d99d8, due to lack of users, tests
and maintenance.
This commit is contained in:
Leandro Lanzieri 2020-02-18 10:30:41 +01:00
parent 196345928f
commit c829f820ee
17 changed files with 0 additions and 72 deletions

View File

@ -599,15 +599,6 @@ ifneq (,$(filter fib,$(USEMODULE)))
USEMODULE += posix_headers
endif
ifneq (,$(filter oonf_rfc5444,$(USEMODULE)))
USEMODULE += oonf_common
endif
ifneq (,$(filter oonf_common,$(USEMODULE)))
USEPKG += oonf_api
USEMODULE += posix_sockets
endif
# if any log_* is used, also use LOG pseudomodule
ifneq (,$(filter log_%,$(USEMODULE)))
USEMODULE += log

View File

@ -1,42 +0,0 @@
PKG_NAME=oonf_api
PKG_URL=https://github.com/OLSR/OONF.git
PKG_VERSION=v0.3.0
PKG_LICENSE=BSD-3-Clause
include $(RIOTBASE)/pkg/pkg.mk
MODULE:=$(PKG_NAME)
# GCC 7.x fails on (intentional) fallthrough, thus disable implicit-fallthrough.
CFLAGS += -Wno-implicit-fallthrough
COMBINED_ARCHIVE = $(BINDIR)/$(MODULE).a
all:
"$(MAKE)" -C $(PKG_BUILDDIR)
"$(MAKE)" $(COMBINED_ARCHIVE)
PARTIAL_ARCHIVES = $(wildcard $(BINDIR)/oonf_*.a)
$(COMBINED_ARCHIVE): $(BINDIR)/$(MODULE).mri $(PARTIAL_ARCHIVES)
ar -M < $<
define ADDLIB_TEMPLATE
addlib $1
endef
define MRI_TEMPLATE
create $1
$(foreach a,$2,$(call ADDLIB_TEMPLATE,$a))
save
end
endef
$(BINDIR)/$(MODULE).mri:
$(file >$@,$(call MRI_TEMPLATE,$(COMBINED_ARCHIVE),$(PARTIAL_ARCHIVES)))
@true
ifneq (,$(filter -Wformat-nonliteral -Wformat=2, $(CFLAGS)))
CFLAGS += -Wno-format-nonliteral
endif

View File

@ -1,5 +0,0 @@
# avr-libc does not provide `strings.h`
FEATURES_BLACKLIST += arch_avr8
# msp430-libc does not provide `strftime`
FEATURES_BLACKLIST += arch_msp430

View File

@ -1,5 +0,0 @@
INCLUDES += -I$(PKGDIRBASE)/oonf_api/src-api
ifeq ($(TOOLCHAIN), llvm)
CFLAGS += -Wno-keyword-macro -Wno-parentheses-equality
endif

View File

@ -1,11 +0,0 @@
/**
* @defgroup pkg_oonf_api OLSR.org Network Framework
* @ingroup pkg
* @ingroup net
* @brief The OLSR.org Network Framework (OONF) is a collection of libraries
* that can be used as the building blocks for networking daemons
*
* @deprecated The package has not been updated in 6 years, tests were never integrated
* into CI and with NHDP the only user of this package is being deprecated too.
* Will be removed after the 2020.04 release.
*/