forked from freifunk-franken/firmware
To be able to swap out babeld for a different babel implementation in the future, this splits all fff-specific configuration into a seperate fff-babel package. Implementation specific configuration is done in /lib/functions/fff/babeldaemon, which is included with every selectable babel implementation. It contains functions, which are called by the fff-specific code, and therefore allows to configure the implementation specific parts. The babel implementation is provided by implementation-specific fff-packages, which provide 'fff-babel-implementation'. At the moment, only fff-babeld is supported for use as babel implementation. Signed-off-by: Fabian Bläse <fabian@blaese.de> Acked-by: Christian Dresel <freifunk@dresel.systems>
31 lines
626 B
Makefile
31 lines
626 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=fff-babeld
|
|
PKG_RELEASE:=$(COMMITCOUNT)
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/fff-babeld
|
|
SECTION:=base
|
|
CATEGORY:=Freifunk
|
|
TITLE:=Freifunk-Franken babeld configuration example
|
|
URL:=https://www.freifunk-franken.de
|
|
DEPENDS:=+babeld
|
|
PROVIDES:=fff-babel-implementation
|
|
endef
|
|
|
|
define Package/fff-babeld/description
|
|
This is the Freifunk Franken Firmware babeld package.
|
|
This package provides an example babeld configuration.
|
|
endef
|
|
|
|
define Build/Compile
|
|
# nothing
|
|
endef
|
|
|
|
define Package/fff-babeld/install
|
|
$(CP) ./files/* $(1)/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,fff-babeld))
|