forked from freifunk-franken/firmware
If no hoodfile is present or hoodfile support is not compiled into the firmware, no upgrade path is available. This currently is the case for layer3 variant. A fallback to our default firmware host is added. At the moment both variants don't have a trust anchor for TLS and the wget, that is currently used, doesn't support TLS. Therefore it is currently necessary to use a unencrypted http URL. Signed-off-by: Fabian Bläse <fabian@blaese.de> Reviewed-by: Christian Dresel <fff@chrisi01.de>
40 lines
711 B
Makefile
40 lines
711 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=fff-hoodutils
|
|
PKG_RELEASE:=2
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/$(PKG_NAME)
|
|
SECTION:=base
|
|
CATEGORY:=Freifunk
|
|
TITLE:= Freifunk-Franken hoodutils
|
|
URL:=http://www.freifunk-franken.de
|
|
DEPENDS:=+fff-network +fff-config
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/description
|
|
This package contains hood-related code that may
|
|
may be used outside of configurehood
|
|
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)))
|