2014-02-05 20:37:47 +01:00
|
|
|
PKG_NAME=oonf_api
|
2016-03-19 23:06:30 +01:00
|
|
|
PKG_URL=https://github.com/OLSR/OONF.git
|
2014-02-05 20:37:47 +01:00
|
|
|
PKG_VERSION=v0.3.0
|
2017-01-08 21:55:46 +01:00
|
|
|
PKG_LICENSE=BSD-3-Clause
|
2014-02-05 20:37:47 +01:00
|
|
|
|
2016-03-22 18:29:46 +01:00
|
|
|
MODULE:=$(PKG_NAME)
|
2014-02-05 20:37:47 +01:00
|
|
|
|
2016-03-22 18:29:46 +01:00
|
|
|
.PHONY: all
|
2014-02-05 20:37:47 +01:00
|
|
|
|
2016-03-23 16:38:19 +01:00
|
|
|
all: git-download
|
2016-03-22 18:29:46 +01:00
|
|
|
"$(MAKE)" -C $(PKG_BUILDDIR)
|
2016-10-18 23:27:59 +02:00
|
|
|
"$(MAKE)" $(BINDIR)/$(MODULE).a
|
2014-02-05 20:37:47 +01:00
|
|
|
|
2016-10-18 23:27:59 +02:00
|
|
|
$(BINDIR)/$(MODULE).a: $(BINDIR)/oonf_*.a
|
|
|
|
mkdir -p $(BINDIR)/$(MODULE); cd $(BINDIR)/$(MODULE); for var in $?; do ar -x $$var; done; ar -r -c -s $(BINDIR)/$(MODULE).a *.o
|
2015-11-16 09:43:12 +01:00
|
|
|
|
2016-03-22 18:29:46 +01:00
|
|
|
include $(RIOTBASE)/pkg/pkg.mk
|