aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrubo77 <github@r.z11.de>2018-07-25 13:45:49 +0200
committerrubo77 <github@r.z11.de>2018-07-25 13:45:49 +0200
commit635d132e24c3214c8941b39b0605b278e7f72539 (patch)
treee4ecf070b253ff4e7c1c130e44e78d8a93d9115e
parentca5a72edf5e617dbfddb2942b0d86c8626512376 (diff)
ignore adding a packet at certain router models and targets instead of allowing it
-rw-r--r--site.mk104
1 files changed, 55 insertions, 49 deletions
diff --git a/site.mk b/site.mk
index 8fdf575..1673cdb 100644
--- a/site.mk
+++ b/site.mk
@@ -1,5 +1,28 @@
# site.mk for Freifunk Kiel
+# Always call `make` from the command line with the desired release version!
+# otherwise this is generated:
+#DEFAULT_GLUON_RELEASE := 2018.1
+DEFAULT_GLUON_RELEASE := 2018.1.0~ngly$(shell date '+%y%m%d')
+
+# Allow overriding the release number from the command line
+GLUON_RELEASE ?= $(DEFAULT_GLUON_RELEASE)
+
+GLUON_PRIORITY ?= 0
+GLUON_BRANCH ?= nightly
+export GLUON_BRANCH
+
+GLUON_TARGET ?= ar71xx-generic
+export GLUON_TARGET
+
+# Region code required for some images; supported values: us eu
+GLUON_REGION ?= eu
+
+# enable generation of images for ath10k devices with 802.11s mode
+GLUON_WLAN_MESH ?= 11s
+
+GLUON_LANGS ?= en de
+
# for feature packs see https://github.com/freifunk-gluon/gluon/blob/v2018.1.x/package/features
GLUON_FEATURES := \
config-mode-mesh-vpn \
@@ -44,39 +67,45 @@ GLUON_SITE_PACKAGES += \
gluon-config-mode-ppa \
# gluon-config-mode-contact-info-anonymous-hint
-# from ffm-packages
-#GLUON_SITE_PACKAGES += \
-# ffffm-button-bind
-# better at the bottom for only some models
# from T-X alt-esc package:
#GLUON_SITE_PACKAGES += \
# gluon-alt-esc-client \
# gluon-alt-esc-provider
-# Always call `make` from the command line with the desired release version!
-# otherwise this is generated:
-#DEFAULT_GLUON_RELEASE := 2018.1
-DEFAULT_GLUON_RELEASE := 2018.1.0~ngly$(shell date '+%y%m%d')
-
-
-# Allow overriding the release number from the command line
-GLUON_RELEASE ?= $(DEFAULT_GLUON_RELEASE)
-
-GLUON_PRIORITY ?= 0
-GLUON_BRANCH ?= nightly
-export GLUON_BRANCH
-
-GLUON_TARGET ?= ar71xx-generic
-export GLUON_TARGET
-
-# Region code required for some images; supported values: us eu
-GLUON_REGION ?= eu
-
-# enable generation of images for ath10k devices with 802.11s mode
-GLUON_WLAN_MESH ?= 11s
+# from ffm-packages
+GLUON_SITE_PACKAGES += \
+ ffffm-button-bind
-GLUON_LANGS ?= en de
+# some models and targets have to be excluded:
+ifeq ($(GLUON_TARGET),ar71xx-tiny)
+ GLUON_tp-link-tl-wr841n-nd-v7_SITE_PACKAGES = -ffffm-button-bind
+endif
+ifeq ($(GLUON_TARGET),x86-generic)
+ifeq ($(GLUON_TARGET),x86-64)
+ GLUON_SITE_PACKAGES += -ffffm-button-bind
+endif
+endif
+# those work ($(GLUON_TARGET),ar71xx-tiny):
+#GLUON_GLUON_tp-link-tl-wr841n-nd-v5_SITE_PACKAGES += ffffm-button-bind
+#GLUON_tp-link-tl-wr841n-nd-v8_SITE_PACKAGES += ffffm-button-bind
+#GLUON_tp-link-tl-wr841n-nd-v9_SITE_PACKAGES += ffffm-button-bind
+#GLUON_tp-link-tl-wr841n-nd-v10_SITE_PACKAGES += ffffm-button-bind
+#GLUON_tp-link-tl-wr841n-nd-v11_SITE_PACKAGES += ffffm-button-bind
+#GLUON_tp-link-tl-wr841n-nd-v12_SITE_PACKAGES += ffffm-button-bind
+#GLUON_tp-link-tl-wr841n-nd-v13_SITE_PACKAGES += ffffm-button-bind
+# ($(GLUON_TARGET),mpc85xx-generic):
+#GLUON_tp-link-tl-wdr4900-v1_SITE_PACKAGES += ffffm-button-bind
+# ($(GLUON_TARGET),ar71xx-generic):
+#GLUON_tp-link-tl-wr1043n-nd-v2_SITE_PACKAGES += ffffm-button-bind
+#GLUON_tp-link-tl-wr1043n-nd-v3_SITE_PACKAGES += ffffm-button-bind
+#GLUON_tp-link-tl-wr1043n-nd-v4_SITE_PACKAGES += ffffm-button-bind
+#GLUON_tp-link-tl-wr1043n-v5_SITE_PACKAGES += ffffm-button-bind
+#GLUON_tp-link-tl-wr842n-nd-v1_SITE_PACKAGES += ffffm-button-bind
+#GLUON_tp-link-tl-wr842n-nd-v2_SITE_PACKAGES += ffffm-button-bind (with some problems due to slider istead of button)
+#GLUON_tp-link-tl-wr842n-nd-v3_SITE_PACKAGES += ffffm-button-bind
+#GLUON_tp-link-tl-wdr4300-v1_SITE_PACKAGES += ffffm-button-bind
+# the rest is unknown
# basic support the USB stack
#USB_PACKAGES_BASIC := \
@@ -194,27 +223,4 @@ endif
ifeq ($(GLUON_TARGET),mpc85xx-generic)
GLUON_tp-link-tl-wdr4900-v1_SITE_PACKAGES := $(USB_PACKAGES_STORAGE)
- GLUON_tp-link-tl-wdr4900-v1_SITE_PACKAGES += ffffm-button-bind
-endif
-
-# from ffm-packages
-ifeq ($(GLUON_TARGET),ar71xx-tiny)
- GLUON_tp-link-tl-wr841n-nd-v5_SITE_PACKAGES += ffffm-button-bind
- GLUON_tp-link-tl-wr841n-nd-v7_SITE_PACKAGES += ffffm-button-bind
- GLUON_tp-link-tl-wr841n-nd-v8_SITE_PACKAGES += ffffm-button-bind
- GLUON_tp-link-tl-wr841n-nd-v9_SITE_PACKAGES += ffffm-button-bind
- GLUON_tp-link-tl-wr841n-nd-v10_SITE_PACKAGES += ffffm-button-bind
- GLUON_tp-link-tl-wr841n-nd-v11_SITE_PACKAGES += ffffm-button-bind
- GLUON_tp-link-tl-wr841n-nd-v12_SITE_PACKAGES += ffffm-button-bind
- GLUON_tp-link-tl-wr841n-nd-v13_SITE_PACKAGES += ffffm-button-bind
-endif
-ifeq ($(GLUON_TARGET),ar71xx-generic)
- GLUON_tp-link-tl-wr1043n-nd-v2_SITE_PACKAGES += ffffm-button-bind
- GLUON_tp-link-tl-wr1043n-nd-v3_SITE_PACKAGES += ffffm-button-bind
- GLUON_tp-link-tl-wr1043n-nd-v4_SITE_PACKAGES += ffffm-button-bind
- GLUON_tp-link-tl-wr1043n-v5_SITE_PACKAGES += ffffm-button-bind
- GLUON_tp-link-tl-wr842n-nd-v1_SITE_PACKAGES += ffffm-button-bind
- GLUON_tp-link-tl-wr842n-nd-v2_SITE_PACKAGES += ffffm-button-bind
- GLUON_tp-link-tl-wr842n-nd-v3_SITE_PACKAGES += ffffm-button-bind
- GLUON_tp-link-tl-wdr4300-v1_SITE_PACKAGES += ffffm-button-bind
endif