212 lines
5.0 KiB
Makefile
212 lines
5.0 KiB
Makefile
GLUON_SITE_PACKAGES := \
|
|
gluon-mesh-batman-adv-15 \
|
|
gluon-alfred \
|
|
gluon-respondd \
|
|
gluon-autoupdater \
|
|
gluon-config-mode-core \
|
|
gluon-config-mode-autoupdater \
|
|
gluon-config-mode-hostname \
|
|
gluon-config-mode-mesh-vpn \
|
|
gluon-config-mode-geo-location \
|
|
gluon-config-mode-contact-info \
|
|
gluon-ebtables-filter-multicast \
|
|
gluon-ebtables-filter-ra-dhcp \
|
|
gluon-luci-admin \
|
|
gluon-luci-autoupdater \
|
|
gluon-luci-portconfig \
|
|
gluon-luci-wifi-config \
|
|
gluon-luci-private-wifi \
|
|
gluon-next-node \
|
|
gluon-mesh-vpn-fastd \
|
|
gluon-radvd \
|
|
gluon-setup-mode \
|
|
gluon-status-page \
|
|
iwinfo \
|
|
iptables \
|
|
haveged \
|
|
gluon-ebtables-filter-arp-ffmuc \
|
|
gluon-ebtables-filter-multicast-ffmuc \
|
|
gluon-ssid-changer \
|
|
respondd-module-airtime \
|
|
gluon-config-mode-site-select
|
|
|
|
# basic support for USB stack
|
|
USB_PACKAGES_BASIC := \
|
|
kmod-usb-core \
|
|
kmod-usb2
|
|
|
|
# storage support for USB devices
|
|
USB_PACKAGES_STORAGE := \
|
|
block-mount \
|
|
blkid \
|
|
kmod-fs-ext4 \
|
|
kmod-fs-vfat \
|
|
kmod-usb-storage \
|
|
kmod-usb-storage-extras \
|
|
kmod-nls-cp1250 \
|
|
kmod-nls-cp1251 \
|
|
kmod-nls-cp437 \
|
|
kmod-nls-cp775 \
|
|
kmod-nls-cp850 \
|
|
kmod-nls-cp852 \
|
|
kmod-nls-cp866 \
|
|
kmod-nls-iso8859-1 \
|
|
kmod-nls-iso8859-13 \
|
|
kmod-nls-iso8859-15 \
|
|
kmod-nls-iso8859-2 \
|
|
kmod-nls-koi8r \
|
|
kmod-nls-utf8 \
|
|
swap-utils
|
|
|
|
# network support for USB devices
|
|
USB_PACKAGES_NET := \
|
|
kmod-mii \
|
|
kmod-nls-base \
|
|
kmod-usb-net \
|
|
kmod-usb-net-asix \
|
|
kmod-usb-net-asix-ax88179 \
|
|
kmod-usb-net-cdc-eem \
|
|
kmod-usb-net-cdc-ether \
|
|
kmod-usb-net-cdc-mbim \
|
|
kmod-usb-net-cdc-ncm \
|
|
kmod-usb-net-cdc-subset \
|
|
kmod-usb-net-dm9601-ether \
|
|
kmod-usb-net-hso \
|
|
kmod-usb-net-huawei-cdc-ncm \
|
|
kmod-usb-net-ipheth \
|
|
kmod-usb-net-kalmia \
|
|
kmod-usb-net-kaweth \
|
|
kmod-usb-net-mcs7830 \
|
|
kmod-usb-net-pegasus \
|
|
kmod-usb-net-qmi-wwan \
|
|
kmod-usb-net-rndis \
|
|
kmod-usb-net-rtl8152 \
|
|
kmod-usb-net-sierrawireless \
|
|
kmod-usb-net-smsc95xx
|
|
# broken
|
|
# kmod-usb-net-rtl8150 \
|
|
# additional USB network devices (ie Edimax)
|
|
USB_PACKAGES_NET_ADD := \
|
|
kmod-rtl8192cu \
|
|
kmod-rtl8187 \
|
|
kmod-ath9k-htc \
|
|
kmod-ath9k-common \
|
|
kmod-ath \
|
|
kmod-rt73-usb \
|
|
kmod-carl9170 \
|
|
kmod-brcmfmac
|
|
|
|
# network support for PCI devices
|
|
PCI_PACKAGES_NET := \
|
|
kmod-3c59x \
|
|
kmod-e100 \
|
|
kmod-e1000 \
|
|
kmod-e1000e \
|
|
kmod-forcedeth \
|
|
kmod-natsemi \
|
|
kmod-ne2k-pci \
|
|
kmod-pcnet32 \
|
|
kmod-r8169 \
|
|
kmod-sis900 \
|
|
kmod-sky2 \
|
|
kmod-tg3 \
|
|
kmod-tulip \
|
|
kmod-via-rhine
|
|
# broken
|
|
# kmod-ixgbe \
|
|
# kmod-r8139too \
|
|
# additional packages
|
|
TOOLS_PACKAGES := \
|
|
iperf \
|
|
socat \
|
|
tcpdump \
|
|
usbutils \
|
|
vnstat
|
|
# broken
|
|
# pciutils \
|
|
|
|
#
|
|
# $(GLUON_TARGET) specific settings:
|
|
#
|
|
|
|
# x86-generic
|
|
ifeq ($(GLUON_TARGET),x86-generic)
|
|
# support the usb stack on x86 devices
|
|
# and add a few common USB and PCI NICs
|
|
GLUON_SITE_PACKAGES += \
|
|
kmod-usb-hid \
|
|
kmod-hid-generic \
|
|
$(USB_PACKAGES_BASIC) \
|
|
$(USB_PACKAGES_STORAGE) \
|
|
$(USB_PACKAGES_NET) \
|
|
$(PCI_PACKAGES_NET) \
|
|
$(TOOLS_PACKAGES) \
|
|
$(USB_PACKAGES_NET_ADD)
|
|
endif
|
|
|
|
# x86-64
|
|
ifeq ($(GLUON_TARGET),x86-64)
|
|
# support the usb stack on x86-64 devices
|
|
# and add a few common USB and PCI NICs
|
|
GLUON_SITE_PACKAGES += \
|
|
kmod-usb-hid \
|
|
kmod-hid-generic \
|
|
$(USB_PACKAGES_BASIC) \
|
|
$(USB_PACKAGES_STORAGE) \
|
|
$(USB_PACKAGES_NET) \
|
|
$(PCI_PACKAGES_NET) \
|
|
$(TOOLS_PACKAGES) \
|
|
$(USB_PACKAGES_NET_ADD)
|
|
endif
|
|
|
|
# Raspberry Pi A/B/B+
|
|
ifeq ($(GLUON_TARGET),brcm2708-bcm2708)
|
|
GLUON_SITE_PACKAGES += \
|
|
kmod-usb-hid \
|
|
kmod-hid-generic \
|
|
$(USB_PACKAGES_BASIC) \
|
|
$(USB_PACKAGES_STORAGE) \
|
|
$(USB_PACKAGES_NET) \
|
|
$(TOOLS_PACKAGES) \
|
|
$(USB_PACKAGES_NET_ADD)
|
|
endif
|
|
|
|
# Raspberry Pi 2
|
|
ifeq ($(GLUON_TARGET),brcm2708-bcm2709)
|
|
GLUON_SITE_PACKAGES += \
|
|
kmod-usb-hid \
|
|
kmod-hid-generic \
|
|
$(USB_PACKAGES_BASIC) \
|
|
$(USB_PACKAGES_STORAGE) \
|
|
$(USB_PACKAGES_NET) \
|
|
$(TOOLS_PACKAGES) \
|
|
$(USB_PACKAGES_NET_ADD)
|
|
endif
|
|
|
|
# ar71xx-generic
|
|
GLUON_TLWR842_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE)
|
|
GLUON_TLWR1043_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE)
|
|
GLUON_TLWR2543_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE)
|
|
GLUON_TLWDR4300_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE)
|
|
GLUON_WNDR3700_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE)
|
|
GLUON_WRT160NL_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE)
|
|
GLUON_ARCHERC7_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE)
|
|
GLUON_GLINET_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE)
|
|
GLUON_WZRHPG450H_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE)
|
|
GLUON_WZRHPAG300H_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE)
|
|
|
|
# mpc85xx-generic
|
|
GLUON_TLWDR4900_SITE_PACKAGES := $(USB_PACKAGES_BASIC) $(TOOLS_PACKAGES) $(USB_PACKAGES_STORAGE)
|
|
|
|
|
|
DEFAULT_GLUON_RELEASE := snapshot~$(shell date '+%Y%m%d')
|
|
|
|
# Allow overriding the release number from the command line
|
|
GLUON_RELEASE ?= $(DEFAULT_GLUON_RELEASE)
|
|
|
|
GLUON_PRIORITY ?= 0
|
|
|
|
# Languages to include
|
|
GLUON_LANGS ?= en de
|
|
GLUON_ATH10K_MESH := ibss
|