firmware/src/packages/fff/fff-hoods/Makefile
Adrian Schmutzler c376435686 fff-web-hood: separate package for hood file via HTTP
There might be scenarios where a user only needs the hood file,
but no WebUI (e.g. for 4M devices and node firmware), or only
the WebUI, but no hood file (e.g. layer3 firmware).

This separates the HTTP server (section) for the hood file into a
separate package fff-web-hood. The new package is then only added
to the node firmware.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Robert Langhammer <rlanghammer@web.de>
Acked-by: Christian Dresel <freifunk@dresel.systems>
2021-01-01 08:43:43 +01:00

42 lines
756 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=fff-hoods
PKG_RELEASE:=17
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
SECTION:=base
CATEGORY:=Freifunk
TITLE:=Freifunk-Franken hoods
URL:=http://www.freifunk-franken.de
DEPENDS:= \
+fff-firewall \
+fff-hoodutils \
+fff-macnock \
+fff-network \
+fff-timeserver \
+fff-vpn-select \
+fff-web-hood \
+fff-wireless \
+jshn \
+@BUSYBOX_CONFIG_WGET \
+@BUSYBOX_CONFIG_FEATURE_WGET_TIMEOUT
endef
define Package/$(PKG_NAME)/description
This package load and configures the current hood
endef
define Build/Compile
# nothing
endef
define Package/$(PKG_NAME)/install
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,$(PKG_NAME)))