firmware/src/packages/fff/fff/Makefile
Adrian Schmutzler 39d147da8d Rearrange fff config values into their own config file
This moves the FFF configuration from
/etc/config/system to a new file /etc/config/fff. Thus,
this file can be copied as a whole during upgrade (with
compatibility provided) and then resulting values in
other files are re-set later.

This also fixes the bandwidth settings not being persistent
during upgrade. Other settings may join ...

I tried to go through all the code and update all occurrences
of the relevant system variables (looking for "system" both
in GitHub and my local src folder).

Note that a downgrade will result in loss of configuration!

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Tested-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Tim Niemeyer <tim@tn-x.org>
- Rebased
Signed-off-by: Tim Niemeyer <tim@tn-x.org>
2017-11-12 20:28:52 +01:00

58 lines
1.1 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=fff
PKG_VERSION:=0.0.2
PKG_RELEASE:=4
PKG_BUILD_DIR:=$(BUILD_DIR)/fff
include $(INCLUDE_DIR)/package.mk
define Package/fff-base
SECTION:=base
CATEGORY:=Freifunk
DEFAULT:=y
TITLE:= Freifunk-Franken Base
URL:=http://www.freifunk-franken.de
DEPENDS:=+iptables \
+ip6tables \
+odhcp6c \
+micrond \
+fff-config \
+fff-nodewatcher \
+fff-web \
+fff-uradvd \
+fff-batman-adv \
+fff-firewall \
+fff-support \
+fff-network \
+fff-sysupgrade \
+fff-wireless \
+fff-timeserver \
+fff-vpn-select \
+simple-tc \
+fff-hoods
endef
define Package/fff-base/description
This is the Freifunk Franken Firmware Base package
endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile
# nothing
endef
define Package/fff-base/install
# nothing
endef
$(eval $(call BuildPackage,fff-base))