Files
@ cf4f965e2938
Branch filter:
Location: freifunk/Firmware-building/site_config/experimental/site/site.mk - annotation
cf4f965e2938
3.2 KiB
text/x-makefile
Add scripts for automation of building and build machine setup
This allows us to use a powerful Hetzner VM for not very long to
build our firmware in almost no time.
This allows us to use a powerful Hetzner VM for not very long to
build our firmware in almost no time.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c ca801f42c10d 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c f08a97e7d891 f08a97e7d891 df7b855d480f 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c df7b855d480f 228ce0898488 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 407831aaf6ad 407831aaf6ad 407831aaf6ad 407831aaf6ad 407831aaf6ad 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 407831aaf6ad 0f436b56926c 407831aaf6ad 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c 0f436b56926c | ## 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 \
ebtables-limit-arp \
mesh-batman-adv-15 \
mesh-vpn-fastd \
respondd \
status-page \
web-advanced \
wireless-encryption-wpa3 \
web-wizard
## GLUON_SITE_PACKAGES
# specify gluon/openwrt packages to include here
# The gluon-mesh-batman-adv-* package must come first because of the dependency resolution
GLUON_SITE_PACKAGES := \
gluon-mesh-batman-adv-15 \
gluon-autoupdater \
gluon-config-mode-autoupdater \
gluon-config-mode-hostname \
gluon-config-mode-mesh-vpn \
gluon-config-mode-geo-location \
gluon-config-mode-contact-info \
gluon-config-mode-core \
gluon-ebtables-filter-multicast \
gluon-ebtables-filter-ra-dhcp \
gluon-web-admin \
gluon-web-autoupdater \
gluon-web-wifi-config \
gluon-web-private-wifi \
gluon-mesh-vpn-fastd \
gluon-radvd \
gluon-respondd \
gluon-setup-mode \
gluon-status-page \
gluon-ssid-changer \
respondd-module-airtime \
iwinfo \
# freifunk-gluon/gluon #2046 - Builds fail with iptables in GLUON_SITE_PACKAGES
# Note that iptables is an OpenWrt core package that is included by default (which is what triggered this bug).
#iptables \
## 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 := sid~exp$(shell date '+%Y%m%d')
# Naming after gluon: v2023.1 = 2023.1.0, as they might release v2023.1.1 = 2023.1.1
DEFAULT_GLUON_RELEASE := 2023.1.0.0~exp20240714
## 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
# Allow overriding the release number from the command line
GLUON_RELEASE ?= $(DEFAULT_GLUON_RELEASE)
# Default priority for updates.
GLUON_PRIORITY ?= 0
# Firmware branch and autoupdater config
GLUON_AUTOUPDATER_BRANCH ?= experimental
GLUON_AUTOUPDATER_ENABLED ?= 1
# set mesh mode for ath10k to 802.11s
GLUON_ATH10K_MESH ?= 11s
# Languages to include
GLUON_LANGS ?= de en
# define a region for specific devices like TP-Link Archer C7
GLUON_REGION := eu
USB_X86_GENERIC_NETWORK_MODULES := \
kmod-usb-ohci-pci \
kmod-sky2 \
kmod-atl2 \
kmod-igb \
kmod-3c59x \
kmod-e100 \
kmod-e1000 \
kmod-e1000e \
kmod-natsemi \
kmod-ne2k-pci \
kmod-pcnet32 \
kmod-8139too \
kmod-r8169 \
kmod-sis900 \
kmod-tg3 \
kmod-via-rhine \
kmod-via-velocity \
kmod-forcedeth \
kmod-iwlwifi
ifeq ($(GLUON_TARGET),x86-generic)
GLUON_SITE_PACKAGES += \
$(USB_X86_GENERIC_NETWORK_MODULES)
endif
ifeq ($(GLUON_TARGET),x86-64)
GLUON_SITE_PACKAGES += \
$(USB_X86_GENERIC_NETWORK_MODULES)
endif
# Do not build images for deprecated devices
GLUON_DEPRECATED ?= 0
|