Skip to content
Snippets Groups Projects
Commit 0a5d324e authored by rubo77's avatar rubo77
Browse files

site.mk changes:

- ignore adding a packet at certain router models and targets instead of allowing it
- moving config variables to the top
parent 1d330096
No related branches found
No related tags found
No related merge requests found
# site.mk for Freifunk Nord # 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 # for feature packs see https://github.com/freifunk-gluon/gluon/blob/v2018.1.x/package/features
GLUON_FEATURES := \ GLUON_FEATURES := \
web-private-wifi \ web-private-wifi \
...@@ -42,38 +65,13 @@ GLUON_SITE_PACKAGES += \ ...@@ -42,38 +65,13 @@ GLUON_SITE_PACKAGES += \
# gluon-config-mode-contact-info-anonymous-hint # gluon-config-mode-contact-info-anonymous-hint
# from ffm-packages # from ffm-packages
#GLUON_SITE_PACKAGES += \ GLUON_SITE_PACKAGES += \
# ffffm-button-bind 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
# basic support the USB stack # some models and targets have to be excluded:
#USB_PACKAGES_BASIC := \ ifeq ($(GLUON_TARGET),ar71xx-tiny)
# kmod-usb-core \ GLUON_tp-link-tl-wr841n-nd-v7_SITE_PACKAGES = -ffffm-button-bind
# kmod-usb2 endif
# support for USB UMTS/3G devices # support for USB UMTS/3G devices
USB_PACKAGES_3G := \ USB_PACKAGES_3G := \
...@@ -186,27 +184,4 @@ endif ...@@ -186,27 +184,4 @@ endif
ifeq ($(GLUON_TARGET),mpc85xx-generic) ifeq ($(GLUON_TARGET),mpc85xx-generic)
GLUON_tp-link-tl-wdr4900-v1_SITE_PACKAGES := $(USB_PACKAGES_STORAGE) 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 endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment