general: migrated recipes and conf files from dunfell to kirkstone
Part of yocto upgrade from dunfell to kirkstone Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
This commit is contained in:
parent
a5300c936e
commit
ffe292ff47
|
|
@ -3,24 +3,24 @@
|
||||||
|
|
||||||
inherit systemd
|
inherit systemd
|
||||||
|
|
||||||
RDEPENDS_${PN} += "libgpiod-tools"
|
RDEPENDS:${PN} += "libgpiod-tools"
|
||||||
|
|
||||||
FILESEXTRAPATHS_append := ":${THISDIR}/files"
|
FILESEXTRAPATHS:append := ":${THISDIR}/files"
|
||||||
|
|
||||||
SRC_URI_append = " \
|
SRC_URI:append = " \
|
||||||
file://jody-w1-bt-init.service \
|
file://jody-w1-bt-init.service \
|
||||||
file://jody-w1-bt \
|
file://jody-w1-bt \
|
||||||
"
|
"
|
||||||
|
|
||||||
S = "${WORKDIR}"
|
S = "${WORKDIR}"
|
||||||
|
|
||||||
SYSTEMD_SERVICE_${PN} = " \
|
SYSTEMD_SERVICE:${PN} = " \
|
||||||
jody-w1-bt-init.service \
|
jody-w1-bt-init.service \
|
||||||
"
|
"
|
||||||
|
|
||||||
FILES_${PN}_append = "${systemd_unitdir}/system ${bindir}"
|
FILES:${PN}:append = "${systemd_unitdir}/system ${bindir}"
|
||||||
|
|
||||||
do_install_append() {
|
do_install:append() {
|
||||||
install -d ${D}${systemd_unitdir}/system
|
install -d ${D}${systemd_unitdir}/system
|
||||||
install -m 644 ${WORKDIR}/jody-w1-bt-init.service ${D}${systemd_unitdir}/system/
|
install -m 644 ${WORKDIR}/jody-w1-bt-init.service ${D}${systemd_unitdir}/system/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
||||||
|
|
||||||
RDEPENDS_${PN}_remove = " ${PN}-wpa-supplicant ${PN}-hostapd"
|
RDEPENDS:${PN}:remove = " ${PN}-wpa-supplicant ${PN}-hostapd"
|
||||||
|
|
||||||
SRC_URI_append = "file://0001-Disable-wowlan_config.patch"
|
SRC_URI:append = "file://0001-Disable-wowlan_config.patch"
|
||||||
|
|
||||||
# unblacklist pcie driver and fw files (default)
|
# unblacklist pcie driver and fw files (default)
|
||||||
do_configure_prepend () {
|
do_configure:prepend () {
|
||||||
for i in $(seq 1 4); do
|
for i in $(seq 1 4); do
|
||||||
sed -e "${i}s/^#*/#/" -i ${WORKDIR}/jody-w1-driver-pcie.conf
|
sed -e "${i}s/^#*/#/" -i ${WORKDIR}/jody-w1-driver-pcie.conf
|
||||||
done
|
done
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ do_assemble_fitimage[depends] += "fpga-image:do_deploy"
|
||||||
# $1 ... .its filename
|
# $1 ... .its filename
|
||||||
# $2 ... Image counter
|
# $2 ... Image counter
|
||||||
# $3 ... Path to fpga image
|
# $3 ... Path to fpga image
|
||||||
fitimage_emit_section_kernel_append() {
|
fitimage_emit_section_kernel:append() {
|
||||||
fpgacount=1
|
fpgacount=1
|
||||||
cat << EOF >> ${1}
|
cat << EOF >> ${1}
|
||||||
fpga@${fpgacount} {
|
fpga@${fpgacount} {
|
||||||
|
|
|
||||||
|
|
@ -19,5 +19,5 @@ LAYERVERSION_netmodule-bsp = "1"
|
||||||
|
|
||||||
LAYERDEPENDS_netmodule-bsp = "core"
|
LAYERDEPENDS_netmodule-bsp = "core"
|
||||||
|
|
||||||
LAYERSERIES_COMPAT_netmodule-bsp = "dunfell"
|
LAYERSERIES_COMPAT_netmodule-bsp = "dunfell kirkstone"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ KERNEL_DEVICETREE_TO_USE = "${HW25_DT}"
|
||||||
SERIAL_CONSOLES = "115200;ttyS0"
|
SERIAL_CONSOLES = "115200;ttyS0"
|
||||||
DEFAULT_ETH = "lan0"
|
DEFAULT_ETH = "lan0"
|
||||||
|
|
||||||
MACHINE_FEATURES_remove = " \
|
MACHINE_FEATURES:remove = " \
|
||||||
bluetooth \
|
bluetooth \
|
||||||
tibluetooth \
|
tibluetooth \
|
||||||
"
|
"
|
||||||
|
|
|
||||||
|
|
@ -7,4 +7,4 @@ require am335x-nmhw21.conf
|
||||||
KERNEL_DEVICETREE_TO_USE = "${HW26_DT}"
|
KERNEL_DEVICETREE_TO_USE = "${HW26_DT}"
|
||||||
MACHINEOVERRIDES .= ":am335x-nmhw21"
|
MACHINEOVERRIDES .= ":am335x-nmhw21"
|
||||||
MACHINE_FEATURES += "pps"
|
MACHINE_FEATURES += "pps"
|
||||||
MACHINE_FEATURES_remove = "user-module"
|
MACHINE_FEATURES:remove = "user-module"
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ KERNEL_DEVICETREE = "armada-385-nbhw14-prod1.dtb \
|
||||||
KERNEL_IMAGETYPE = "zImage"
|
KERNEL_IMAGETYPE = "zImage"
|
||||||
|
|
||||||
PREFERRED_PROVIDER_virtual/kernel = "linux-netmodule"
|
PREFERRED_PROVIDER_virtual/kernel = "linux-netmodule"
|
||||||
PV_pn-linux-netmodule = "4.12.0-${SRCPV}"
|
PV:pn-linux-netmodule = "4.12.0-${SRCPV}"
|
||||||
SRC_URI_pn-linux-netmodule = "git://github.com/netmodule/linux.git;protocol=https;branch=4.12/standard/nrhw14"
|
SRC_URI:pn-linux-netmodule = "git://github.com/netmodule/linux.git;protocol=https;branch=4.12/standard/nrhw14"
|
||||||
SRCREV_pn-linux-netmodule = "2fb3360ec3cf672c74321e1dbe5c04e59d1ced11"
|
SRCREV:pn-linux-netmodule = "2fb3360ec3cf672c74321e1dbe5c04e59d1ced11"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ KERNEL_DEVICETREE = "freescale/fsl-imx8qxp-mek.dtb freescale/fsl-imx8qxp-mek-dom
|
||||||
|
|
||||||
SOTA_MACHINE = "${MACHINE}"
|
SOTA_MACHINE = "${MACHINE}"
|
||||||
|
|
||||||
KERNEL_CLASSES_append = " kernel-fitimage"
|
KERNEL_CLASSES:append = " kernel-fitimage"
|
||||||
|
|
||||||
KERNEL_IMAGETYPE = "Image"
|
KERNEL_IMAGETYPE = "Image"
|
||||||
UBOOT_ENTRYPOINT ?= "0x80020000"
|
UBOOT_ENTRYPOINT ?= "0x80020000"
|
||||||
|
|
|
||||||
|
|
@ -7,4 +7,4 @@ KERNEL_DEVICETREE_TO_USE = "${HW23_DLM_DT}"
|
||||||
MACHINEOVERRIDES .= ":imx8-nmhw23"
|
MACHINEOVERRIDES .= ":imx8-nmhw23"
|
||||||
SOTA_MACHINE = "imx8-nmhw23"
|
SOTA_MACHINE = "imx8-nmhw23"
|
||||||
|
|
||||||
MACHINE_FEATURES_remove = "v2x"
|
MACHINE_FEATURES:remove = "v2x"
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ KERNEL_DEVICETREE_TO_USE = "${HW23_DT}"
|
||||||
|
|
||||||
SOTA_MACHINE = "${MACHINE}"
|
SOTA_MACHINE = "${MACHINE}"
|
||||||
|
|
||||||
KERNEL_CLASSES_append = " kernel-fitimage"
|
KERNEL_CLASSES:append = " kernel-fitimage"
|
||||||
|
|
||||||
#UBOOT_MACHINE = "imx8_nmhw23_defconfig"
|
#UBOOT_MACHINE = "imx8_nmhw23_defconfig"
|
||||||
IMAGE_BOOT_FILES = "flash.bin"
|
IMAGE_BOOT_FILES = "flash.bin"
|
||||||
|
|
|
||||||
|
|
@ -3,14 +3,14 @@ require conf/machine/include/soc-family.inc
|
||||||
require netmodule-hardware.inc
|
require netmodule-hardware.inc
|
||||||
|
|
||||||
DEFAULTTUNE ?= "cortexa9thf-neon"
|
DEFAULTTUNE ?= "cortexa9thf-neon"
|
||||||
require conf/machine/include/tune-cortexa9.inc
|
require conf/machine/include/arm/armv7a/tune-cortexa9.inc
|
||||||
|
|
||||||
# Default providers, may need to override for specific machines
|
# Default providers, may need to override for specific machines
|
||||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-armada"
|
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-armada"
|
||||||
PREFERRED_PROVIDER_u-boot = "u-boot-armada"
|
PREFERRED_PROVIDER_u-boot = "u-boot-armada"
|
||||||
|
|
||||||
UBOOT_ARCH = "arm"
|
UBOOT_ARCH = "arm"
|
||||||
UBOOT_MACHINE = "mvebu_db_armada8k_config"
|
UBOOT_MACHINE = "mvebu_db:armada8k_config"
|
||||||
|
|
||||||
UBOOT_ENTRYPOINT = "0x13000000"
|
UBOOT_ENTRYPOINT = "0x13000000"
|
||||||
UBOOT_LOADADDRESS = "0x13000000"
|
UBOOT_LOADADDRESS = "0x13000000"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
require imx-mkimage_git.inc
|
require imx-mkimage_git.inc
|
||||||
|
|
||||||
DESCRIPTION = "Generate Boot Loader for i.MX 8 device"
|
DESCRIPTION = "Generate Boot Loader for i.MX 8 device"
|
||||||
LICENSE = "GPLv2"
|
LICENSE = "GPL-2.0-only"
|
||||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
||||||
SECTION = "BSP"
|
SECTION = "BSP"
|
||||||
|
|
||||||
|
|
@ -16,7 +16,7 @@ DEPENDS += " \
|
||||||
${IMX_EXTRA_FIRMWARE} \
|
${IMX_EXTRA_FIRMWARE} \
|
||||||
imx-atf \
|
imx-atf \
|
||||||
"
|
"
|
||||||
DEPENDS_append_mx8m = " dtc-native"
|
DEPENDS:append_mx8m = " dtc-native"
|
||||||
BOOT_NAME = "imx-boot"
|
BOOT_NAME = "imx-boot"
|
||||||
PROVIDES = "${BOOT_NAME}"
|
PROVIDES = "${BOOT_NAME}"
|
||||||
|
|
||||||
|
|
@ -39,7 +39,7 @@ ATF_MACHINE_NAME_mx8qm = "bl31-imx8qm.bin"
|
||||||
ATF_MACHINE_NAME_mx8qxp = "bl31-imx8qxp.bin"
|
ATF_MACHINE_NAME_mx8qxp = "bl31-imx8qxp.bin"
|
||||||
ATF_MACHINE_NAME_mx8mq = "bl31-imx8mq.bin"
|
ATF_MACHINE_NAME_mx8mq = "bl31-imx8mq.bin"
|
||||||
ATF_MACHINE_NAME_mx8mm = "bl31-imx8mm.bin"
|
ATF_MACHINE_NAME_mx8mm = "bl31-imx8mm.bin"
|
||||||
ATF_MACHINE_NAME_append = "${@bb.utils.contains('COMBINED_FEATURES', 'optee', '-optee', '', d)}"
|
ATF_MACHINE_NAME:append = "${@bb.utils.contains('COMBINED_FEATURES', 'optee', '-optee', '', d)}"
|
||||||
|
|
||||||
DCD_NAME ?= "imx8qm_dcd.cfg.tmp"
|
DCD_NAME ?= "imx8qm_dcd.cfg.tmp"
|
||||||
DCD_NAME_mx8qm = "imx8qm_dcd.cfg.tmp"
|
DCD_NAME_mx8qm = "imx8qm_dcd.cfg.tmp"
|
||||||
|
|
@ -174,6 +174,6 @@ do_deploy() {
|
||||||
addtask deploy before do_build after do_compile
|
addtask deploy before do_build after do_compile
|
||||||
|
|
||||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
FILES_${PN} = "/boot"
|
FILES:${PN} = "/boot"
|
||||||
|
|
||||||
COMPATIBLE_MACHINE = "(mx8)"
|
COMPATIBLE_MACHINE = "(mx8)"
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
require imx-mkimage_git.inc
|
require imx-mkimage_git.inc
|
||||||
|
|
||||||
DESCRIPTION = "i.MX make image"
|
DESCRIPTION = "i.MX make image"
|
||||||
LICENSE = "GPLv2"
|
LICENSE = "GPL-2.0-only"
|
||||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
||||||
SECTION = "BSP"
|
SECTION = "BSP"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ LICENSE = "Proprietary"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=228c72f2a91452b8a03c4cab30f30ef9"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=228c72f2a91452b8a03c4cab30f30ef9"
|
||||||
SECTION = "BSP"
|
SECTION = "BSP"
|
||||||
|
|
||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files/${MACHINE}:"
|
FILESEXTRAPATHS:prepend := "${THISDIR}/files/${MACHINE}:"
|
||||||
|
|
||||||
inherit fsl-eula-unpack deploy
|
inherit fsl-eula-unpack deploy
|
||||||
|
|
||||||
|
|
@ -20,7 +20,7 @@ symlink_name = "scfw_tcm.bin"
|
||||||
SRC_URI += "file://scfw_tcm_cfw.bin"
|
SRC_URI += "file://scfw_tcm_cfw.bin"
|
||||||
SC_FIRMWARE_NAME = "scfw_tcm_cfw.bin"
|
SC_FIRMWARE_NAME = "scfw_tcm_cfw.bin"
|
||||||
|
|
||||||
do_configure_prepend() {
|
do_configure:prepend() {
|
||||||
cp ${WORKDIR}/scfw_tcm_cfw.bin ${B}
|
cp ${WORKDIR}/scfw_tcm_cfw.bin ${B}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,18 +3,18 @@
|
||||||
SUMMARY = "A Daemon wait for Freescale/NXP mfgtools host's command"
|
SUMMARY = "A Daemon wait for Freescale/NXP mfgtools host's command"
|
||||||
SECTION = "base"
|
SECTION = "base"
|
||||||
DEPENDS = "dosfstools-native"
|
DEPENDS = "dosfstools-native"
|
||||||
LICENSE = "GPLv2"
|
LICENSE = "GPL-2.0-only"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||||
|
|
||||||
inherit autotools-brokensep
|
inherit autotools-brokensep
|
||||||
|
|
||||||
PV = "0.5.1+git${SRCPV}"
|
PV = "0.5.1+git${SRCPV}"
|
||||||
|
|
||||||
SRC_URI = "git://github.com/NXPmicro/imx-uuc.git;protocol=https"
|
SRC_URI = "git://github.com/NXPmicro/imx-uuc.git;protocol=https;branch=master"
|
||||||
SRCREV = "e3fbdfef978abd150d9ea71c4d174daded9c8d33"
|
SRCREV = "e3fbdfef978abd150d9ea71c4d174daded9c8d33"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
FILES_${PN} += "/linuxrc /fat"
|
FILES:${PN} += "/linuxrc /fat"
|
||||||
|
|
||||||
COMPATIBLE_MACHINE = "(imx)"
|
COMPATIBLE_MACHINE = "(imx)"
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ DESCRIPTION = "Bootloader configuration tool"
|
||||||
LICENSE = "Proprietary"
|
LICENSE = "Proprietary"
|
||||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28"
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28"
|
||||||
|
|
||||||
RDEPENDS_${PN} += " \
|
RDEPENDS:${PN} += " \
|
||||||
python3-setuptools \
|
python3-setuptools \
|
||||||
"
|
"
|
||||||
DEPENDS = "python3-setuptools-git-version-native"
|
DEPENDS = "python3-setuptools-git-version-native"
|
||||||
|
|
@ -20,14 +20,14 @@ S = "${WORKDIR}/git"
|
||||||
# Likely required in the future
|
# Likely required in the future
|
||||||
#PACKAGE_ARCH = "${MACHINE_ARCH}"
|
#PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
inherit allarch
|
inherit allarch
|
||||||
#do_configure_prepend() {
|
#do_configure:prepend() {
|
||||||
# cp ${S}/platforms/${MACHINE}/* ${S}/bootloader_config
|
# cp ${S}/platforms/${MACHINE}/* ${S}/bootloader_config
|
||||||
#}
|
#}
|
||||||
|
|
||||||
SYSTEMD_SERVICE_${PN} = "bootloader-config.service"
|
SYSTEMD_SERVICE:${PN} = "bootloader-config.service"
|
||||||
|
|
||||||
# do_install is done by setuptools
|
# do_install is done by setuptools
|
||||||
do_install_append() {
|
do_install:append() {
|
||||||
install -d ${D}/${systemd_unitdir}/system/
|
install -d ${D}/${systemd_unitdir}/system/
|
||||||
install -m 0644 ${S}/systemd/bootloader-config.service ${D}/${systemd_unitdir}/system/
|
install -m 0644 ${S}/systemd/bootloader-config.service ${D}/${systemd_unitdir}/system/
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,6 @@ do_deploy () {
|
||||||
cp ${WORKDIR}/LG00000000 ${DEPLOYDIR}/fpga-image-${MACHINE}
|
cp ${WORKDIR}/LG00000000 ${DEPLOYDIR}/fpga-image-${MACHINE}
|
||||||
}
|
}
|
||||||
|
|
||||||
FILES_${PN} += "/logic/LG00000000"
|
FILES:${PN} += "/logic/LG00000000"
|
||||||
|
|
||||||
addtask deploy before do_build after do_compile
|
addtask deploy before do_build after do_compile
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ SUMMARY = "Set mac addresses of Wifi and bluetooth chips"
|
||||||
DESCRIPTION = "Small scripts that set the mac addresses based on ethernet mac"
|
DESCRIPTION = "Small scripts that set the mac addresses based on ethernet mac"
|
||||||
AUTHOR = "Alexandre Bard"
|
AUTHOR = "Alexandre Bard"
|
||||||
|
|
||||||
LICENSE = "GPLv2+"
|
LICENSE = "GPL-2.0-or-later"
|
||||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
||||||
PR = "r2"
|
PR = "r2"
|
||||||
|
|
||||||
|
|
@ -18,10 +18,10 @@ S = "${WORKDIR}"
|
||||||
|
|
||||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||||
|
|
||||||
SYSTEMD_SERVICE_${PN} = "wlan-address-set.service bt-address-set.service"
|
SYSTEMD_SERVICE:${PN} = "wlan-address-set.service bt-address-set.service"
|
||||||
SYSTEMD_AUTO_ENABLE ?= "enable"
|
SYSTEMD_AUTO_ENABLE ?= "enable"
|
||||||
|
|
||||||
FILES_${PN}_append = " \
|
FILES:${PN}:append = " \
|
||||||
/lib \
|
/lib \
|
||||||
/usr \
|
/usr \
|
||||||
"
|
"
|
||||||
|
|
|
||||||
|
|
@ -9,23 +9,23 @@ SRCREV ?= "6584feb5fb3e18572fee1cea9e20a6b8e5cd0251"
|
||||||
PV = "0.0.1+git${SRCPV}"
|
PV = "0.0.1+git${SRCPV}"
|
||||||
|
|
||||||
|
|
||||||
DEPENDS_append = " libnmapp"
|
DEPENDS:append = " libnmapp"
|
||||||
|
|
||||||
inherit systemd
|
inherit systemd
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
B = "${S}/build"
|
B = "${S}/build"
|
||||||
|
|
||||||
SYSTEMD_SERVICE_${PN} = "storage-info.service"
|
SYSTEMD_SERVICE:${PN} = "storage-info.service"
|
||||||
|
|
||||||
FILES_${PN} += " \
|
FILES:${PN} += " \
|
||||||
${bindir}/storage-info \
|
${bindir}/storage-info \
|
||||||
${systemd_system_unitdir}/storage-info.service \
|
${systemd_system_unitdir}/storage-info.service \
|
||||||
${sysconfdir}/storage/storage-info.conf \
|
${sysconfdir}/storage/storage-info.conf \
|
||||||
"
|
"
|
||||||
|
|
||||||
# build variables for the target (rest is default)
|
# build variables for the target (rest is default)
|
||||||
EXTRA_OEMAKE_append = " 'BUILD_TARGET=target' 'BUILD_CONFIG=rls' 'SYSROOT=${STAGING_DIR_TARGET}'"
|
EXTRA_OEMAKE:append = " 'BUILD_TARGET=target' 'BUILD_CONFIG=rls' 'SYSROOT=${STAGING_DIR_TARGET}'"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
install -d ${D}${bindir}
|
install -d ${D}${bindir}
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ require recipes-bsp/u-boot/u-boot.inc
|
||||||
|
|
||||||
PROVIDES += "u-boot"
|
PROVIDES += "u-boot"
|
||||||
|
|
||||||
LICENSE = "GPLv2+"
|
LICENSE = "GPL-2.0-or-later"
|
||||||
LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||||
|
|
||||||
SRC_URI = "git://gitlab.com/netmodule/bootloader/netmodule-uboot.git;protocol=ssh;user=git;branch=2018.03/imx/imx8-nmhw23;destsuffix=git"
|
SRC_URI = "git://gitlab.com/netmodule/bootloader/netmodule-uboot.git;protocol=ssh;user=git;branch=2018.03/imx/imx8-nmhw23;destsuffix=git"
|
||||||
|
|
@ -23,14 +23,14 @@ LOCALVERSION ?= "-${SRCBRANCH}"
|
||||||
BOOT_TOOLS = "imx-boot-tools"
|
BOOT_TOOLS = "imx-boot-tools"
|
||||||
UBOOT_INITIAL_ENV = ""
|
UBOOT_INITIAL_ENV = ""
|
||||||
|
|
||||||
do_configure_prepend() {
|
do_configure:prepend() {
|
||||||
if [ ! -d ${S}/board/netmodule/common ]; then
|
if [ ! -d ${S}/board/netmodule/common ]; then
|
||||||
mkdir -p ${S}/board/netmodule/
|
mkdir -p ${S}/board/netmodule/
|
||||||
ln -s ${S}/board/freescale/common ${S}/board/netmodule/common
|
ln -s ${S}/board/freescale/common ${S}/board/netmodule/common
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
do_deploy_append_mx8m() {
|
do_deploy:append_mx8m() {
|
||||||
# Deploy the mkimage, u-boot-nodtb.bin and fsl-imx8m*-XX.dtb for mkimage to generate boot binary
|
# Deploy the mkimage, u-boot-nodtb.bin and fsl-imx8m*-XX.dtb for mkimage to generate boot binary
|
||||||
if [ -n "${UBOOT_CONFIG}" ]
|
if [ -n "${UBOOT_CONFIG}" ]
|
||||||
then
|
then
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
require recipes-bsp/u-boot/u-boot.inc
|
require recipes-bsp/u-boot/u-boot.inc
|
||||||
|
|
||||||
LICENSE = "GPLv2+"
|
LICENSE = "GPL-2.0-or-later"
|
||||||
LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
|
LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ DESCRIPTION = "USB-Hub Reset on HW23"
|
||||||
HOMEPAGE = "www.netmodule.com"
|
HOMEPAGE = "www.netmodule.com"
|
||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
SECTION = "bsp"
|
SECTION = "bsp"
|
||||||
RDEPENDS_${PN} = "usbutils coreutils"
|
RDEPENDS:${PN} = "usbutils coreutils"
|
||||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||||
|
|
||||||
inherit systemd
|
inherit systemd
|
||||||
|
|
@ -14,11 +14,11 @@ SRC_URI = " \
|
||||||
|
|
||||||
S = "${WORKDIR}"
|
S = "${WORKDIR}"
|
||||||
|
|
||||||
SYSTEMD_SERVICE_${PN} = " \
|
SYSTEMD_SERVICE:${PN} = " \
|
||||||
usb-hub-reset.service \
|
usb-hub-reset.service \
|
||||||
"
|
"
|
||||||
|
|
||||||
FILES_${PN} = "${systemd_unitdir}/system ${bindir}"
|
FILES:${PN} = "${systemd_unitdir}/system ${bindir}"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
install -d ${D}${systemd_unitdir}/system
|
install -d ${D}${systemd_unitdir}/system
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ DESCRIPTION = "Murata v2x module firmware loader service"
|
||||||
HOMEPAGE = "www.netmodule.com"
|
HOMEPAGE = "www.netmodule.com"
|
||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
SECTION = "bsp/firmware"
|
SECTION = "bsp/firmware"
|
||||||
RDEPENDS_${PN} = "dfu-util usbutils coreutils"
|
RDEPENDS:${PN} = "dfu-util usbutils coreutils"
|
||||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
||||||
|
|
||||||
inherit systemd
|
inherit systemd
|
||||||
|
|
@ -20,11 +20,11 @@ SRC_URI = " \
|
||||||
|
|
||||||
S = "${WORKDIR}"
|
S = "${WORKDIR}"
|
||||||
|
|
||||||
SYSTEMD_SERVICE_${PN} = " \
|
SYSTEMD_SERVICE:${PN} = " \
|
||||||
v2x-ieee802.11p.service \
|
v2x-ieee802.11p.service \
|
||||||
"
|
"
|
||||||
|
|
||||||
FILES_${PN} = "${systemd_unitdir}/system ${bindir} ${nonarch_base_libdir}/firmware/v2x ${sysconfdir} "
|
FILES:${PN} = "${systemd_unitdir}/system ${bindir} ${nonarch_base_libdir}/firmware/v2x ${sysconfdir} "
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
install -d ${D}${systemd_unitdir}/system
|
install -d ${D}${systemd_unitdir}/system
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
SUMMARY = "SocketCAN over Ethernet tunnel using UDP to transfer CAN frames between two machines"
|
SUMMARY = "SocketCAN over Ethernet tunnel using UDP to transfer CAN frames between two machines"
|
||||||
SECTION = "socketcan"
|
SECTION = "socketcan"
|
||||||
LICENSE = "GPLv2"
|
LICENSE = "GPL-2.0-only"
|
||||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
||||||
PR = "r0"
|
PR = "r0"
|
||||||
|
|
||||||
RDEPENDS_${PN}-dev += "${PN}-staticdev"
|
RDEPENDS:${PN}-dev += "${PN}-staticdev"
|
||||||
|
|
||||||
SRCREV = "e3ac7393b566345d057c2d17a4d328007caaacac"
|
SRCREV = "e3ac7393b566345d057c2d17a4d328007caaacac"
|
||||||
|
|
||||||
SRC_URI = "git://github.com/mguentner/cannelloni.git;protocol=http"
|
SRC_URI = "git://github.com/mguentner/cannelloni.git;branch=master;protocol=https"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
|
@ -17,13 +17,13 @@ inherit systemd
|
||||||
|
|
||||||
EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=Release"
|
EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=Release"
|
||||||
|
|
||||||
INSANE_SKIP_${PN} = "ldflags"
|
INSANE_SKIP:${PN} = "ldflags"
|
||||||
INHIBIT_PACKAGE_STRIP = "1"
|
INHIBIT_PACKAGE_STRIP = "1"
|
||||||
INHIBIT_SYSROOT_STRIP = "1"
|
INHIBIT_SYSROOT_STRIP = "1"
|
||||||
SOLIBS = ".so"
|
SOLIBS = ".so"
|
||||||
FILES_SOLIBSDEV = ""
|
FILES_SOLIBSDEV = ""
|
||||||
|
|
||||||
do_install_append () {
|
do_install:append () {
|
||||||
install -d ${D}${libdir}
|
install -d ${D}${libdir}
|
||||||
install -m 0755 ${WORKDIR}/build/libcannelloni-common.so ${D}${libdir}
|
install -m 0755 ${WORKDIR}/build/libcannelloni-common.so ${D}${libdir}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,21 +9,21 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
|
||||||
|
|
||||||
inherit systemd
|
inherit systemd
|
||||||
|
|
||||||
FILESEXTRAPATHS_append := ":${THISDIR}/files"
|
FILESEXTRAPATHS:append := ":${THISDIR}/files"
|
||||||
|
|
||||||
SRC_URI_append = " \
|
SRC_URI:append = " \
|
||||||
file://gnss-init.service \
|
file://gnss-init.service \
|
||||||
"
|
"
|
||||||
|
|
||||||
S = "${WORKDIR}"
|
S = "${WORKDIR}"
|
||||||
|
|
||||||
SYSTEMD_SERVICE_${PN} = " \
|
SYSTEMD_SERVICE:${PN} = " \
|
||||||
gnss-init.service \
|
gnss-init.service \
|
||||||
"
|
"
|
||||||
|
|
||||||
FILES_${PN}_append = "${systemd_unitdir}/system ${bindir}"
|
FILES:${PN}:append = "${systemd_unitdir}/system ${bindir}"
|
||||||
|
|
||||||
do_install_append() {
|
do_install:append() {
|
||||||
install -d ${D}${systemd_unitdir}/system
|
install -d ${D}${systemd_unitdir}/system
|
||||||
install -m 644 ${WORKDIR}/gnss-init.service ${D}${systemd_unitdir}/system/
|
install -m 644 ${WORKDIR}/gnss-init.service ${D}${systemd_unitdir}/system/
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
DESCRIPTION = "NetModule GNSS management tool"
|
DESCRIPTION = "NetModule GNSS management tool"
|
||||||
LICENSE = "LGPLv3"
|
LICENSE = "LGPL-3.0-only"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3000208d539ec061b899bce1d9ce9404"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=3000208d539ec061b899bce1d9ce9404"
|
||||||
|
|
||||||
RDEPENDS_${PN} += " \
|
RDEPENDS:${PN} += " \
|
||||||
python3-setuptools \
|
python3-setuptools \
|
||||||
nmubxlib \
|
nmubxlib \
|
||||||
python3-systemd \
|
python3-systemd \
|
||||||
|
|
@ -14,7 +14,7 @@ inherit setuptools3
|
||||||
inherit gitpkgv
|
inherit gitpkgv
|
||||||
|
|
||||||
inherit systemd
|
inherit systemd
|
||||||
SYSTEMD_SERVICE_${PN} = "gnss-mgr.service"
|
SYSTEMD_SERVICE:${PN} = "gnss-mgr.service"
|
||||||
|
|
||||||
inherit allarch
|
inherit allarch
|
||||||
|
|
||||||
|
|
@ -29,10 +29,10 @@ SRCREV ?= "e7970e6486473c78c2c6f1f63c5a15fc28606c2d"
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
PACKAGES =+ "${PN}-test"
|
PACKAGES =+ "${PN}-test"
|
||||||
SUMMARY_${PN}-test = "Addon to gnss-mgr for testing purposes"
|
SUMMARY:${PN}-test = "Addon to gnss-mgr for testing purposes"
|
||||||
FILES_${PN}-test = "${bindir}/gnss-config-reader"
|
FILES:${PN}-test = "${bindir}/gnss-config-reader"
|
||||||
|
|
||||||
do_install_append() {
|
do_install:append() {
|
||||||
install -d ${D}${sysconfdir}/gnss
|
install -d ${D}${sysconfdir}/gnss
|
||||||
install -m 0644 ${S}/config/gnss-neom8.conf ${D}${sysconfdir}/gnss/gnss0.conf
|
install -m 0644 ${S}/config/gnss-neom8.conf ${D}${sysconfdir}/gnss/gnss0.conf
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||||
|
|
||||||
DEPENDS = "libnl dbus"
|
DEPENDS = "libnl dbus"
|
||||||
|
|
||||||
|
|
@ -7,6 +7,6 @@ export EXTRA_CFLAGS = " \
|
||||||
-I${STAGING_DIR_TARGET}/usr/include/libnl3 \
|
-I${STAGING_DIR_TARGET}/usr/include/libnl3 \
|
||||||
"
|
"
|
||||||
|
|
||||||
do_configure_prepend () {
|
do_configure:prepend () {
|
||||||
sed -i 's/CONFIG_LIBNL_TINY=y/#CONFIG_LIBNL_TINY=y/g' ${WORKDIR}/hostapd-full.config
|
sed -i 's/CONFIG_LIBNL_TINY=y/#CONFIG_LIBNL_TINY=y/g' ${WORKDIR}/hostapd-full.config
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,12 +5,12 @@ export EXTRA_CFLAGS = " \
|
||||||
-I${STAGING_DIR_TARGET}/usr/include/libnl3 \
|
-I${STAGING_DIR_TARGET}/usr/include/libnl3 \
|
||||||
"
|
"
|
||||||
|
|
||||||
SYSTEMD_SERVICE_${PN} = "wpa_supplicant.service wpa_supplicant-nl80211@.service wpa_supplicant-wired@.service"
|
SYSTEMD_SERVICE:${PN} = "wpa_supplicant.service wpa_supplicant-nl80211@.service wpa_supplicant-wired@.service"
|
||||||
SYSTEMD_AUTO_ENABLE = "disable"
|
SYSTEMD_AUTO_ENABLE = "disable"
|
||||||
|
|
||||||
FILES_${PN} += "/usr/lib/systemd/system/*"
|
FILES:${PN} += "/usr/lib/systemd/system/*"
|
||||||
|
|
||||||
do_configure_prepend () {
|
do_configure:prepend () {
|
||||||
sed -i 's/#CONFIG_CTRL_IFACE_DBUS_NEW=y/CONFIG_CTRL_IFACE_DBUS_NEW=y/g' ${WORKDIR}/wpa_supplicant-full.config
|
sed -i 's/#CONFIG_CTRL_IFACE_DBUS_NEW=y/CONFIG_CTRL_IFACE_DBUS_NEW=y/g' ${WORKDIR}/wpa_supplicant-full.config
|
||||||
sed -i 's/#CONFIG_CTRL_IFACE_DBUS_INTRO=y/CONFIG_CTRL_IFACE_DBUS_INTRO=y/g' ${WORKDIR}/wpa_supplicant-full.config
|
sed -i 's/#CONFIG_CTRL_IFACE_DBUS_INTRO=y/CONFIG_CTRL_IFACE_DBUS_INTRO=y/g' ${WORKDIR}/wpa_supplicant-full.config
|
||||||
|
|
||||||
|
|
@ -18,7 +18,7 @@ do_configure_prepend () {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
do_install_append () {
|
do_install:append () {
|
||||||
|
|
||||||
install -d ${D}/${sysconfdir}/dbus-1/system.d
|
install -d ${D}/${sysconfdir}/dbus-1/system.d
|
||||||
install -m 644 ${S}/wpa_supplicant/dbus/dbus-wpa_supplicant.conf ${D}/${sysconfdir}/dbus-1/system.d
|
install -m 644 ${S}/wpa_supplicant/dbus/dbus-wpa_supplicant.conf ${D}/${sysconfdir}/dbus-1/system.d
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
SUMMARY = "ModemManager is a daemon controlling broadband devices/connections"
|
SUMMARY = "ModemManager is a daemon controlling broadband devices/connections"
|
||||||
DESCRIPTION = "ModemManager is a DBus-activated daemon which controls mobile broadband (2G/3G/4G) devices and connections"
|
DESCRIPTION = "ModemManager is a DBus-activated daemon which controls mobile broadband (2G/3G/4G) devices and connections"
|
||||||
HOMEPAGE = "http://www.freedesktop.org/wiki/Software/ModemManager/"
|
HOMEPAGE = "http://www.freedesktop.org/wiki/Software/ModemManager/"
|
||||||
LICENSE = "GPL-2.0 & LGPL-2.1"
|
LICENSE = "GPL-2.0-only & LGPL-2.1-only"
|
||||||
LIC_FILES_CHKSUM = " \
|
LIC_FILES_CHKSUM = " \
|
||||||
file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||||
file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
|
file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
|
||||||
|
|
@ -34,7 +34,7 @@ EXTRA_OECONF = " \
|
||||||
--with-udev-base-dir=${nonarch_base_libdir}/udev \
|
--with-udev-base-dir=${nonarch_base_libdir}/udev \
|
||||||
"
|
"
|
||||||
|
|
||||||
FILES_${PN} += " \
|
FILES:${PN} += " \
|
||||||
${datadir}/icons \
|
${datadir}/icons \
|
||||||
${datadir}/polkit-1 \
|
${datadir}/polkit-1 \
|
||||||
${datadir}/dbus-1 \
|
${datadir}/dbus-1 \
|
||||||
|
|
@ -43,15 +43,15 @@ FILES_${PN} += " \
|
||||||
${systemd_unitdir}/system \
|
${systemd_unitdir}/system \
|
||||||
"
|
"
|
||||||
|
|
||||||
FILES_${PN}-dev += " \
|
FILES:${PN}-dev += " \
|
||||||
${libdir}/ModemManager/*.la \
|
${libdir}/ModemManager/*.la \
|
||||||
"
|
"
|
||||||
|
|
||||||
FILES_${PN}-staticdev += " \
|
FILES:${PN}-staticdev += " \
|
||||||
${libdir}/ModemManager/*.a \
|
${libdir}/ModemManager/*.a \
|
||||||
"
|
"
|
||||||
|
|
||||||
FILES_${PN}-dbg += "${libdir}/ModemManager/.debug"
|
FILES:${PN}-dbg += "${libdir}/ModemManager/.debug"
|
||||||
|
|
||||||
SYSTEMD_SERVICE_${PN} = "ModemManager.service"
|
SYSTEMD_SERVICE:${PN} = "ModemManager.service"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,10 +12,10 @@ EXTRA_OECONF += "--disable-all-plugins --enable-plugin-ublox"
|
||||||
PACKAGECONFIG = "systemd"
|
PACKAGECONFIG = "systemd"
|
||||||
|
|
||||||
# Add whitelist rules
|
# Add whitelist rules
|
||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
||||||
SRC_URI += "file://77-mm-netmodule-whitelist.rules"
|
SRC_URI += "file://77-mm-netmodule-whitelist.rules"
|
||||||
|
|
||||||
do_install_append() {
|
do_install:append() {
|
||||||
install -m 0644 ${WORKDIR}/77-mm-netmodule-whitelist.rules ${D}${libdir}/udev/rules.d/
|
install -m 0644 ${WORKDIR}/77-mm-netmodule-whitelist.rules ${D}${libdir}/udev/rules.d/
|
||||||
sed -i -e 's/bin\/ModemManager/bin\/ModemManager --filter-policy=WHITELIST-ONLY/g' ${D}${systemd_unitdir}/system/ModemManager.service
|
sed -i -e 's/bin\/ModemManager/bin\/ModemManager --filter-policy=WHITELIST-ONLY/g' ${D}${systemd_unitdir}/system/ModemManager.service
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ DESCRIPTION = "Configuration files for NetworkManager"
|
||||||
LICENSE = "Proprietary"
|
LICENSE = "Proprietary"
|
||||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28"
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28"
|
||||||
|
|
||||||
RDEPENDS_${PN} = "networkmanager"
|
RDEPENDS:${PN} = "networkmanager"
|
||||||
PACKAGECONFIG ?= ""
|
PACKAGECONFIG ?= ""
|
||||||
|
|
||||||
DEFAULT_ETH ??= "eth0"
|
DEFAULT_ETH ??= "eth0"
|
||||||
|
|
@ -20,7 +20,7 @@ SRC_URI = " \
|
||||||
file://unmanaged-devices.conf \
|
file://unmanaged-devices.conf \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI_append_am335x-nrhw20 = " \
|
SRC_URI:append_am335x-nrhw20 = " \
|
||||||
file://system-connections-static.tar.gz \
|
file://system-connections-static.tar.gz \
|
||||||
file://system-connections-dhcp.tar.gz \
|
file://system-connections-dhcp.tar.gz \
|
||||||
"
|
"
|
||||||
|
|
@ -51,7 +51,7 @@ do_install () {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install_append_am335x-nrhw20() {
|
do_install:append_am335x-nrhw20() {
|
||||||
rm -rf ${D}${sysconfdir}/NetworkManager/system-connections/*
|
rm -rf ${D}${sysconfdir}/NetworkManager/system-connections/*
|
||||||
if ${@bb.utils.contains('PACKAGECONFIG','ethernet-dhcp','true','false',d)}; then
|
if ${@bb.utils.contains('PACKAGECONFIG','ethernet-dhcp','true','false',d)}; then
|
||||||
install -m 0600 ${WORKDIR}/system-connections-dhcp/* ${D}${sysconfdir}/NetworkManager/system-connections/
|
install -m 0600 ${WORKDIR}/system-connections-dhcp/* ${D}${sysconfdir}/NetworkManager/system-connections/
|
||||||
|
|
@ -61,7 +61,7 @@ do_install_append_am335x-nrhw20() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
FILES_${PN} = " \
|
FILES:${PN} = " \
|
||||||
${sysconfdir}/NetworkManager/NetworkManager.conf \
|
${sysconfdir}/NetworkManager/NetworkManager.conf \
|
||||||
${sysconfdir}/NetworkManager/dnsmasq.d \
|
${sysconfdir}/NetworkManager/dnsmasq.d \
|
||||||
${sysconfdir}/NetworkManager/system-connections \
|
${sysconfdir}/NetworkManager/system-connections \
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
FILESEXTRAPATHS_append := "${THISDIR}/${PN}"
|
FILESEXTRAPATHS:append := "${THISDIR}/${PN}"
|
||||||
|
|
||||||
RDEPENDS_${PN} = "networkmanager-conf"
|
RDEPENDS:${PN} = "networkmanager-conf"
|
||||||
|
|
||||||
SRC_URI_append = "\
|
SRC_URI:append = "\
|
||||||
file://0001-Reactivate-GSM-connections-when-ModemManager-reconne.patch \
|
file://0001-Reactivate-GSM-connections-when-ModemManager-reconne.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ DESCRIPTION = "Library implementing UBX protocol for u-blox gnss modems"
|
||||||
LICENSE = "MIT"
|
LICENSE = "MIT"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=331a9220a74b05f133bf1ef09b6903b2"
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=331a9220a74b05f133bf1ef09b6903b2"
|
||||||
|
|
||||||
RDEPENDS_${PN} += " \
|
RDEPENDS:${PN} += " \
|
||||||
python3-setuptools \
|
python3-setuptools \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,14 +3,14 @@ DESCRIPTION = "Run hciattach for ti bluetooth wl12xx module"
|
||||||
AUTHOR = "Stefan Eichenberger"
|
AUTHOR = "Stefan Eichenberger"
|
||||||
|
|
||||||
SECTION = "connectivity"
|
SECTION = "connectivity"
|
||||||
LICENSE = "GPLv2+"
|
LICENSE = "GPL-2.0-or-later"
|
||||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
||||||
PR = "r2"
|
PR = "r2"
|
||||||
|
|
||||||
inherit systemd
|
inherit systemd
|
||||||
inherit allarch
|
inherit allarch
|
||||||
|
|
||||||
RDEPENDS_${PN} = "\
|
RDEPENDS:${PN} = "\
|
||||||
firmware-ti-wl18xx \
|
firmware-ti-wl18xx \
|
||||||
bash \
|
bash \
|
||||||
libgpiod-tools \
|
libgpiod-tools \
|
||||||
|
|
@ -24,10 +24,10 @@ SRC_URI = " \
|
||||||
S = "${WORKDIR}"
|
S = "${WORKDIR}"
|
||||||
|
|
||||||
|
|
||||||
SYSTEMD_SERVICE_${PN} = "tibluetooth.service"
|
SYSTEMD_SERVICE:${PN} = "tibluetooth.service"
|
||||||
SYSTEMD_AUTO_ENABLE ?= "enable"
|
SYSTEMD_AUTO_ENABLE ?= "enable"
|
||||||
|
|
||||||
FILES_${PN}_append = " \
|
FILES:${PN}:append = " \
|
||||||
${nonarch_base_libdir} \
|
${nonarch_base_libdir} \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ do_install() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
FILES_${PN} = " \
|
FILES:${PN} = " \
|
||||||
${bindir} \
|
${bindir} \
|
||||||
${nonarch_base_libdir} \
|
${nonarch_base_libdir} \
|
||||||
"
|
"
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ DESCRIPTION = "WWAN modems configuration tool"
|
||||||
LICENSE = "Proprietary"
|
LICENSE = "Proprietary"
|
||||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28"
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28"
|
||||||
|
|
||||||
RDEPENDS_${PN} += " \
|
RDEPENDS:${PN} += " \
|
||||||
python3-pyserial \
|
python3-pyserial \
|
||||||
libgpiod-python \
|
libgpiod-python \
|
||||||
python3-setuptools \
|
python3-setuptools \
|
||||||
|
|
@ -31,11 +31,11 @@ S = "${WORKDIR}/git"
|
||||||
inherit setuptools3
|
inherit setuptools3
|
||||||
|
|
||||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
do_configure_prepend() {
|
do_configure:prepend() {
|
||||||
cp ${S}/platforms/${MACHINE}/* ${S}/wwan_config
|
cp ${S}/platforms/${MACHINE}/* ${S}/wwan_config
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install_append() {
|
do_install:append() {
|
||||||
install -d ${D}/${systemd_unitdir}/system/
|
install -d ${D}/${systemd_unitdir}/system/
|
||||||
install -m 0644 ${WORKDIR}/wwan-config@.service ${D}/${systemd_unitdir}/system/
|
install -m 0644 ${WORKDIR}/wwan-config@.service ${D}/${systemd_unitdir}/system/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,16 +2,16 @@ SUMMARY = "Boarddescriptor Tool"
|
||||||
DESCRIPTION = "Read and write from/to the boarddescriptor"
|
DESCRIPTION = "Read and write from/to the boarddescriptor"
|
||||||
AUTHOR = "Stefan Eichenberger (stefan.eichenberger@netmodule.com)"
|
AUTHOR = "Stefan Eichenberger (stefan.eichenberger@netmodule.com)"
|
||||||
|
|
||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}/${MACHINE}:"
|
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}/${MACHINE}:"
|
||||||
|
|
||||||
SECTION = "core"
|
SECTION = "core"
|
||||||
LICENSE = "GPLv2+"
|
LICENSE = "GPL-2.0-or-later"
|
||||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
||||||
PR = "r0"
|
PR = "r0"
|
||||||
|
|
||||||
inherit python3-dir
|
inherit python3-dir
|
||||||
|
|
||||||
RDEPENDS_${PN} = "python3-core python3-json"
|
RDEPENDS:${PN} = "python3-core python3-json"
|
||||||
|
|
||||||
SRC_URI = " \
|
SRC_URI = " \
|
||||||
file://bd.py \
|
file://bd.py \
|
||||||
|
|
@ -22,7 +22,7 @@ SRC_URI = " \
|
||||||
|
|
||||||
S = "${WORKDIR}"
|
S = "${WORKDIR}"
|
||||||
|
|
||||||
FILES_${PN} = " \
|
FILES:${PN} = " \
|
||||||
${bindir}/* \
|
${bindir}/* \
|
||||||
${libdir}/* \
|
${libdir}/* \
|
||||||
${sysconfdir}/* \
|
${sysconfdir}/* \
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
FILESEXTRAPATHS_append:= ":${THISDIR}/firmware-ti-wl18xx"
|
FILESEXTRAPATHS:append:= ":${THISDIR}/firmware-ti-wl18xx"
|
||||||
|
|
||||||
SRC_URI_append = " file://wl1271-nvs.bin "
|
SRC_URI:append = " file://wl1271-nvs.bin "
|
||||||
|
|
||||||
|
|
||||||
do_install_append() {
|
do_install:append() {
|
||||||
install -m 0644 ${WORKDIR}/wl1271-nvs.bin ${D}${nonarch_base_libdir}/firmware/ti-connectivity/wl1271-nvs.bin
|
install -m 0644 ${WORKDIR}/wl1271-nvs.bin ${D}${nonarch_base_libdir}/firmware/ti-connectivity/wl1271-nvs.bin
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
DESCRIPTION = "Driver for wakeup from standby via AM335x dmtimer"
|
DESCRIPTION = "Driver for wakeup from standby via AM335x dmtimer"
|
||||||
HOMEPAGE = "http://www.netmodule.com/"
|
HOMEPAGE = "http://www.netmodule.com/"
|
||||||
LICENSE = "GPLv2"
|
LICENSE = "GPL-2.0-only"
|
||||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
||||||
|
|
||||||
inherit module
|
inherit module
|
||||||
|
|
@ -11,6 +11,6 @@ PACKAGE_ARCH = "${TUNE_PKGARCH}"
|
||||||
PV = "1.0.0"
|
PV = "1.0.0"
|
||||||
SRCREV ?= "1711171ae3bcc9f804d7973f4068cdd7cade78d0"
|
SRCREV ?= "1711171ae3bcc9f804d7973f4068cdd7cade78d0"
|
||||||
|
|
||||||
SRC_URI = "git://github.com/netmodule/am335x-wakeup-timer.git;protocol=https"
|
SRC_URI = "git://github.com/netmodule/am335x-wakeup-timer.git;protocol=https;branch=master"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,11 @@ inherit kernel
|
||||||
|
|
||||||
DESCRIPTION = "Linux kernel for various NetModule hardware"
|
DESCRIPTION = "Linux kernel for various NetModule hardware"
|
||||||
|
|
||||||
LICENSE = "GPLv2"
|
LICENSE = "GPL-2.0-only"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
|
||||||
|
|
||||||
# Avoids installing the kernel in /boot directory
|
# Avoids installing the kernel in /boot directory
|
||||||
RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""
|
RDEPENDS:${KERNEL_PACKAGE_NAME}-base = ""
|
||||||
|
|
||||||
# We are building one kernel for all machines with the same architecture
|
# We are building one kernel for all machines with the same architecture
|
||||||
PACKAGE_ARCH = "${TUNE_PKGARCH}"
|
PACKAGE_ARCH = "${TUNE_PKGARCH}"
|
||||||
|
|
@ -19,7 +19,7 @@ INITRAMFS_IMAGE_NAME = "-"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
INSANE_SKIP_${PN} += "version-going-backwards"
|
INSANE_SKIP:${PN} += "version-going-backwards"
|
||||||
|
|
||||||
copy_initramfs () {
|
copy_initramfs () {
|
||||||
# We do not use this feature and it is depending on MACHINE variable
|
# We do not use this feature and it is depending on MACHINE variable
|
||||||
|
|
@ -28,7 +28,7 @@ copy_initramfs () {
|
||||||
}
|
}
|
||||||
|
|
||||||
#If a KERNEL_DEFCONFIG is specified, the defconfig specified in SRC_URI will be overwritten!
|
#If a KERNEL_DEFCONFIG is specified, the defconfig specified in SRC_URI will be overwritten!
|
||||||
do_configure_append(){
|
do_configure:append(){
|
||||||
if [ "${KERNEL_DEFCONFIG}" != "" ]; then
|
if [ "${KERNEL_DEFCONFIG}" != "" ]; then
|
||||||
oe_runmake ${KERNEL_DEFCONFIG}
|
oe_runmake ${KERNEL_DEFCONFIG}
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,5 @@ SRC_URI = "git://gitlab.com/netmodule/kernel/linux-netmodule.git;protocol=ssh;us
|
||||||
SRCREV ?= "383b4b9a26c1e3ff804a66132842d31e43681b06"
|
SRCREV ?= "383b4b9a26c1e3ff804a66132842d31e43681b06"
|
||||||
|
|
||||||
# Config fragments
|
# Config fragments
|
||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/conf:"
|
FILESEXTRAPATHS:prepend := "${THISDIR}/conf:"
|
||||||
SRC_URI_append_netbird = " file://wlan.cfg"
|
SRC_URI:append_netbird = " file://wlan.cfg"
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (C) 2021 Lucien Mueller <lucien.mueller@netmodule.com>
|
# Copyright (C) 2021 Lucien Mueller <lucien.mueller@netmodule.com>
|
||||||
|
|
||||||
DESCRIPTION = "make fitimage"
|
DESCRIPTION = "make fitimage"
|
||||||
LICENSE = "GPLv2"
|
LICENSE = "GPL-2.0-only"
|
||||||
|
|
||||||
|
|
||||||
inherit kernel-fitimage
|
inherit kernel-fitimage
|
||||||
|
|
@ -29,7 +29,7 @@ UBOOT_LOADADDRESS ?= "${UBOOT_ENTRYPOINT}"
|
||||||
|
|
||||||
KERNEL_DEVICETREE = "${KERNEL_DEVICETREE_TO_USE}"
|
KERNEL_DEVICETREE = "${KERNEL_DEVICETREE_TO_USE}"
|
||||||
|
|
||||||
do_configure_prepend () {
|
do_configure:prepend () {
|
||||||
install -d ${S}/arch/${ARCH}/boot/
|
install -d ${S}/arch/${ARCH}/boot/
|
||||||
for DTB in ${KERNEL_DEVICETREE}; do
|
for DTB in ${KERNEL_DEVICETREE}; do
|
||||||
# We have to watch out for when the device-tree is located in its own subdirectory in the kernel sources.
|
# We have to watch out for when the device-tree is located in its own subdirectory in the kernel sources.
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
# Copyright (C) 2021 Netmodule AG
|
# Copyright (C) 2021 Netmodule AG
|
||||||
DESCRIPTION = "implements a publish/subscribe broker for the various system state topics"
|
DESCRIPTION = "implements a publish/subscribe broker for the various system state topics"
|
||||||
HOMEPAGE = "http://www.netmodule.com/"
|
HOMEPAGE = "http://www.netmodule.com/"
|
||||||
LICENSE = "GPL-2.0"
|
LICENSE = "GPL-2.0-only"
|
||||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
||||||
|
|
||||||
inherit packagegroup
|
inherit packagegroup
|
||||||
|
|
||||||
PROVIDES = "${PN}"
|
PROVIDES = "${PN}"
|
||||||
|
|
||||||
RDEPENDS_${PN} = " \
|
RDEPENDS:${PN} = " \
|
||||||
ssc-broker-driver \
|
ssc-broker-driver \
|
||||||
ssc-sysstate-driver \
|
ssc-sysstate-driver \
|
||||||
"
|
"
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
DESCRIPTION = "implements a publish/subscribe broker for the various system state topics"
|
DESCRIPTION = "implements a publish/subscribe broker for the various system state topics"
|
||||||
HOMEPAGE = "http://www.netmodule.com/"
|
HOMEPAGE = "http://www.netmodule.com/"
|
||||||
LICENSE = "GPL-2.0"
|
LICENSE = "GPL-2.0-only"
|
||||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
||||||
|
|
||||||
inherit module
|
inherit module
|
||||||
|
|
@ -18,7 +18,7 @@ SRCREV ?= "4950e67e4a94bde44f8cf7a8c3f0c8eed8d18ad9"
|
||||||
SRC_URI = "git://gitlab.com/netmodule/kernel/ssc-broker-driver.git;protocol=ssh;user=git;branch=develop"
|
SRC_URI = "git://gitlab.com/netmodule/kernel/ssc-broker-driver.git;protocol=ssh;user=git;branch=develop"
|
||||||
|
|
||||||
|
|
||||||
do_install_append () {
|
do_install:append () {
|
||||||
install -d ${D}${includedir}/broker
|
install -d ${D}${includedir}/broker
|
||||||
install -m 0644 ${S}/broker.h ${D}${includedir}/broker/broker.h
|
install -m 0644 ${S}/broker.h ${D}${includedir}/broker/broker.h
|
||||||
install -m 0644 ${S}/worker.h ${D}${includedir}/broker/worker.h
|
install -m 0644 ${S}/worker.h ${D}${includedir}/broker/worker.h
|
||||||
|
|
|
||||||
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
DESCRIPTION = "implements a publish/subscribe broker for the various system state topics"
|
DESCRIPTION = "implements a publish/subscribe broker for the various system state topics"
|
||||||
HOMEPAGE = "http://www.netmodule.com/"
|
HOMEPAGE = "http://www.netmodule.com/"
|
||||||
LICENSE = "GPL-2.0"
|
LICENSE = "GPL-2.0-only"
|
||||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
||||||
|
|
||||||
DEPENDS = "ssc-broker-driver"
|
DEPENDS = "ssc-broker-driver"
|
||||||
RDEPENDS_${PN} = "ssc-broker-driver"
|
RDEPENDS:${PN} = "ssc-broker-driver"
|
||||||
|
|
||||||
inherit module
|
inherit module
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
DESCRIPTION = "implements a publish/subscribe broker for the various system state topics"
|
DESCRIPTION = "implements a publish/subscribe broker for the various system state topics"
|
||||||
HOMEPAGE = "http://www.netmodule.com/"
|
HOMEPAGE = "http://www.netmodule.com/"
|
||||||
LICENSE = "GPL-2.0"
|
LICENSE = "GPL-2.0-only"
|
||||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
|
||||||
|
|
||||||
DEPENDS = "ssc-broker-driver"
|
DEPENDS = "ssc-broker-driver"
|
||||||
RDEPENDS_${PN} = "ssc-broker-driver"
|
RDEPENDS:${PN} = "ssc-broker-driver"
|
||||||
|
|
||||||
inherit module
|
inherit module
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
TTY_DEVICE = "/dev/gnss0"
|
TTY_DEVICE = "/dev/gnss0"
|
||||||
USBAUTO_STATE = "false"
|
USBAUTO_STATE = "false"
|
||||||
|
|
||||||
do_install_append () {
|
do_install:append () {
|
||||||
sed -i 's|DEVICES=""|DEVICES="${TTY_DEVICE}"|g' ${D}/etc/default/gpsd.default
|
sed -i 's|DEVICES=""|DEVICES="${TTY_DEVICE}"|g' ${D}/etc/default/gpsd.default
|
||||||
sed -i 's|USBAUTO="true"|USBAUTO="${USBAUTO_STATE}"|g' ${D}/etc/default/gpsd.default
|
sed -i 's|USBAUTO="true"|USBAUTO="${USBAUTO_STATE}"|g' ${D}/etc/default/gpsd.default
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue