diff --git a/site.mk b/site.mk index 6cb4b60180a9626e317ef96ed5b5c8246f91e177..edb76e81d3a3d8510f8cafb17349ebae3cca2420 100644 --- a/site.mk +++ b/site.mk @@ -1,5 +1,28 @@ # site.mk for Freifunk Nord +# 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.1~exp$(shell date '+%y%m%d') + +# Allow overriding the release number from the command line +GLUON_RELEASE ?= $(DEFAULT_GLUON_RELEASE) + +GLUON_PRIORITY ?= 0 +GLUON_BRANCH ?= stable +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 := \ web-private-wifi \ @@ -42,38 +65,13 @@ GLUON_SITE_PACKAGES += \ # gluon-config-mode-contact-info-anonymous-hint # from ffm-packages -#GLUON_SITE_PACKAGES += \ -# ffffm-button-bind -# better at the bottom for only some models - -# 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.1~exp$(shell date '+%y%m%d') - - -# Allow overriding the release number from the command line -GLUON_RELEASE ?= $(DEFAULT_GLUON_RELEASE) - -GLUON_PRIORITY ?= 0 -GLUON_BRANCH ?= stable -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 +GLUON_SITE_PACKAGES += \ + ffffm-button-bind -# basic support the USB stack -#USB_PACKAGES_BASIC := \ -# kmod-usb-core \ -# kmod-usb2 +# 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 # support for USB UMTS/3G devices USB_PACKAGES_3G := \ @@ -186,27 +184,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