forked from freifunk-franken/firmware
The debug filesystem will be deprecated and disabled by default in newer versions of B.A.T.M.A.N. This patch switches our code to the batctl, as recommended. Since batctl can suppress headers, this actually makes our life easier ... Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Tested-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by: Robert Langhammer <rlanghammer@web.de>
42 lines
833 B
Makefile
42 lines
833 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=fff-nodewatcher
|
|
PKG_RELEASE:=52
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/$(PKG_NAME)
|
|
SECTION:=base
|
|
CATEGORY:=Freifunk
|
|
TITLE:= Freifunk-Franken Nodewatcher
|
|
URL:=http://www.freifunk-franken.de
|
|
DEPENDS:=+fff-alfred +micrond +fff-config +fff-random +ip +ip-bridge
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/description
|
|
This is the Nodewatcher for the Freifunk Franken Firmware
|
|
It is used to send node status information to
|
|
monitoring.freifunk-franken.de and
|
|
netmon.freifunk-franken.de
|
|
endef
|
|
|
|
define Build/Prepare
|
|
echo "all: " > $(PKG_BUILD_DIR)/Makefile
|
|
endef
|
|
|
|
define Build/Configure
|
|
# nothing
|
|
endef
|
|
|
|
define Build/Compile
|
|
# nothing
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/install
|
|
$(CP) ./files/* $(1)/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|