firmware/src/packages/fff/fff-support/Makefile
Fabian Bläse de9d4abf44 Retain old compat_version for sysupgrade compatibility
OpenWrt images contain a compat_version, which is used to block upgrades
to newer versions with incompatible configuration, if the configuration
cannot be migrated.

As we maintain our own configuration and all OpenWrt configuration files
are dropped on an upgrade, this upgrade block is not required.

To simplify the upgrade process, retain the old compat_version for the
next release. The compat_version should be bumped manually on release, so
we stay compatible with OpenWrt releases.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
Reviewed by: Robert Langhammer <rlanghammer@web.de>
2021-11-28 15:09:42 +01:00

32 lines
711 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=fff-support
PKG_RELEASE:=9
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
SECTION:=base
CATEGORY:=Freifunk
TITLE:=Freifunk-Franken Support Scripts
URL:=https://www.freifunk-franken.de
DEPENDS:=+@BUSYBOX_CONFIG_ASH +fff-config +fff-hoodutils
endef
define Package/$(PKG_NAME)/description
This is the Freifunk Franken Firmware support package.
This packages provides smaller convenience scripts,
not essential to the operation of the Firmware
endef
define Build/Compile
# nothing
endef
define Package/$(PKG_NAME)/install
$(CP) ./files/* $(1)/
test -d ./$(BOARD) && $(CP) ./$(BOARD)/* $(1)/ || true
endef
$(eval $(call BuildPackage,$(PKG_NAME)))