Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
# These files are based on the details provided in
|
||||
# Quectel_WCDMA<E_Linux_USB_Driver_User_Guide_V1.5.pdf and are shared
|
||||
# as part of this layer with their permission.
|
||||
|
||||
SUMMARY = "PPP Scripts for Basic Quectel Chip Operation"
|
||||
SECTION = "net"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "\
|
||||
file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
|
||||
"
|
||||
DESCRIPTION = "A set of Linux PPP scripts that provide connect, disconnect \
|
||||
and other basic Point-to-Point Protocol functionality for \
|
||||
Quectel wireless modems."
|
||||
|
||||
RDEPENDS_${PN} = "ppp"
|
||||
|
||||
SRC_URI = "\
|
||||
file://quectel-ppp.in \
|
||||
file://quectel-chat-connect.in \
|
||||
file://quectel-chat-disconnect \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
# set the Access Point Name (APN) of the SIM card
|
||||
# set this variable in conf/local.conf
|
||||
QUECTEL_PPP_APN ??= ""
|
||||
|
||||
# set the USB UART for AT commands of the wwan card
|
||||
# default is /dev/ttyUSB2
|
||||
# set this variable to the correct UART
|
||||
QUECTEL_PPP_TTY ??= "/dev/ttyUSB2"
|
||||
|
||||
do_configure () {
|
||||
|
||||
if [ -z "${QUECTEL_PPP_APN}" ]; then
|
||||
bbwarn "APN of SIM card is not set for quectel-ppp! Set the APN in QUECTEL_PPP_APN."
|
||||
fi
|
||||
|
||||
if [ -z "${QUECTEL_PPP_TTY}" ]; then
|
||||
bbwarn "USB UART of quectel wwan card is not set! Set the UART in QUECTEL_PPP_TTY."
|
||||
fi
|
||||
|
||||
sed s#@QUECTEL_PPP_APN@#${QUECTEL_PPP_APN}#g ${WORKDIR}/quectel-chat-connect.in > ${S}/quectel-chat-connect
|
||||
sed s#@QUECTEL_PPP_TTY@#${QUECTEL_PPP_TTY}#g ${WORKDIR}/quectel-ppp.in > ${S}/quectel-ppp
|
||||
}
|
||||
|
||||
inherit allarch
|
||||
|
||||
# Install script on target's root filesystem
|
||||
do_install () {
|
||||
# Install init script and default settings
|
||||
# ${sysconfdir}
|
||||
install -d ${D}${sysconfdir}/
|
||||
install -d ${D}${sysconfdir}/ppp
|
||||
install -d ${D}${sysconfdir}/ppp/peers
|
||||
install -m 0755 ${S}/quectel-ppp ${D}${sysconfdir}/ppp/peers/
|
||||
install -m 0755 ${S}/quectel-chat-connect ${D}${sysconfdir}/ppp/peers/
|
||||
install -m 0755 ${S}/quectel-chat-disconnect ${D}${sysconfdir}/ppp/peers/
|
||||
}
|
||||
|
||||
# Mark the files which are part of this package
|
||||
FILES_${PN} += "{sysconfdir}/ppp/peers/*"
|
||||
Reference in New Issue
Block a user