meta-netmodule-distro/conf/distro/netmodule-linux.conf

67 lines
1.9 KiB
Plaintext

# Global
TARGET_VENDOR = "-netmodule"
SANITY_TESTED_DISTROS ?= " \
debian-10 \n \
debian-11 \n \
debian-12 \n \
"
# Make shared states compatible with all build host
require conf/distro/include/yocto-uninative.inc
INHERIT += "uninative"
# Don't append libc name in tmp directory
# eg. build/tmp instead of build/tmp-glibc
# Since we only support glibc, we don't need different tmp directories
TCLIBCAPPEND = ""
# DISTRO
DISTRO = "netmodule-linux"
DISTRO_NAME = "NetModule Linux Distribution"
DISTRO_VERSION ?= "x.y.z.develop"
export SOURCE_DATE_EPOCH = "1656633600"
INIT_MANAGER = "systemd"
KERNEL_MODULE_AUTOLOAD += "cryptodev"
DISTRO_FEATURES = "bluetooth usbhost pci ipv4 ipv6 wifi multiarch usrmerge"
# The BACKFILLed features are features which were defaults in previous
# yocto versions but are now optional.
# Adding them to this variable allow us to remove them.
DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio ldconfig"
EXTRA_IMAGECMD:append_ext4 = " -O ^64bit"
EXTRA_IMAGECMD:append_ota-ext4 = " -O ^64bit"
# Packages
PACKAGECONFIG:append:pn-curl = " tftp openssl"
PACKAGECONFIG:remove:pn-curl = "gnutls"
PACKAGECONFIG:append:pn-wget = " openssl"
PACKAGECONFIG:remove:pn-wget = "gnutls"
PACKAGECONFIG:append:pn-libgpiod = " python3"
PACKAGECONFIG:append:pn-networkmanager = " modemmanager"
PACKAGECONFIG:pn-gpsd = ""
PACKAGECONFIG:append:pn-openssl = " cryptodev-linux"
PACKAGECONFIG:pn-lmsensors = ""
PACKAGECONFIG:pn-libqmi = ""
# These rules may make gpsd start automatically when detecting a
# receiver. We don't want that since gpsd is started by gnss-mgr
PACKAGE_EXCLUDE = "gpsd-udev"
# SDK
SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${IMAGE_BASENAME}-${TUNE_PKGARCH}"
SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
SDK_VENDOR = "-netmodule"
SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
# Changes specific to current yocto version
include ${LAYERSERIES_CORENAMES}/distro.inc