2018-06-13 22:01:56 +00:00
|
|
|
## gluon site.mk makefile example
|
|
|
|
|
|
|
|
## GLUON_FEATURES
|
|
|
|
# Specify Gluon features/packages to enable;
|
|
|
|
# Gluon will automatically enable a set of packages
|
|
|
|
# depending on the combination of features listed
|
|
|
|
|
|
|
|
GLUON_FEATURES := \
|
|
|
|
autoupdater \
|
|
|
|
ebtables-filter-multicast \
|
|
|
|
ebtables-filter-ra-dhcp \
|
2018-07-01 14:34:00 +00:00
|
|
|
ebtables-limit-arp \
|
2018-06-13 22:01:56 +00:00
|
|
|
mesh-batman-adv-15 \
|
|
|
|
mesh-vpn-fastd \
|
|
|
|
respondd \
|
|
|
|
status-page \
|
|
|
|
web-advanced \
|
|
|
|
web-wizard
|
|
|
|
|
|
|
|
## GLUON_MULTIDOMAIN
|
|
|
|
# Build gluon with multidomain support.
|
|
|
|
|
|
|
|
GLUON_MULTIDOMAIN=1
|
|
|
|
|
|
|
|
## GLUON_SITE_PACKAGES
|
|
|
|
# Specify additional Gluon/LEDE packages to include here;
|
|
|
|
# A minus sign may be prepended to remove a packages from the
|
|
|
|
# selection that would be enabled by default or due to the
|
|
|
|
# chosen feature flags
|
|
|
|
|
|
|
|
|
2020-04-08 08:37:57 +00:00
|
|
|
GLUON_SITE_PACKAGES := iwinfo
|
2018-06-13 22:01:56 +00:00
|
|
|
|
|
|
|
## DEFAULT_GLUON_RELEASE
|
|
|
|
# version string to use for images
|
|
|
|
# gluon relies on
|
|
|
|
# opkg compare-versions "$1" '>>' "$2"
|
|
|
|
# to decide if a version is newer or not.
|
|
|
|
|
|
|
|
DEFAULT_GLUON_RELEASE := 0.6+exp$(shell date '+%Y%m%d')
|
|
|
|
|
|
|
|
# Variables set with ?= can be overwritten from the command line
|
|
|
|
|
|
|
|
## GLUON_RELEASE
|
|
|
|
# call make with custom GLUON_RELEASE flag, to use your own release version scheme.
|
|
|
|
# e.g.:
|
|
|
|
# $ make images GLUON_RELEASE=23.42+5
|
|
|
|
# would generate images named like this:
|
|
|
|
# gluon-ff%site_code%-23.42+5-%router_model%.bin
|
|
|
|
|
|
|
|
GLUON_RELEASE ?= $(DEFAULT_GLUON_RELEASE)
|
|
|
|
|
|
|
|
# Default priority for updates.
|
|
|
|
GLUON_PRIORITY ?= 0
|
|
|
|
|
|
|
|
# Region code required for some images; supported values: us eu
|
|
|
|
GLUON_REGION ?= eu
|
|
|
|
|
|
|
|
# Languages to include
|
|
|
|
GLUON_LANGS ?= en de
|
2019-06-15 12:34:45 +00:00
|
|
|
|
|
|
|
# Do not build images for deprecated devices
|
|
|
|
GLUON_DEPRECATED ?= 0
|