recipes-core: added packagegroup and recipe to build an SDK
the package group holds packages included in netmodule-linux to not duplicate code. the sdk recipe is appended with the added package group, cpputest and libnmapp BugzID: 73552 Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
This commit is contained in:
parent
2adf913004
commit
4586eaa5a5
|
|
@ -36,8 +36,7 @@ IMAGE_INSTALL_append = " \
|
||||||
pciutils \
|
pciutils \
|
||||||
kernel-modules \
|
kernel-modules \
|
||||||
kernel-devicetree \
|
kernel-devicetree \
|
||||||
networkmanager \
|
packagegroup-netmodule-linux \
|
||||||
modemmanager \
|
|
||||||
parted \
|
parted \
|
||||||
rng-tools \
|
rng-tools \
|
||||||
glibc-utils \
|
glibc-utils \
|
||||||
|
|
@ -50,7 +49,6 @@ IMAGE_INSTALL_append = " \
|
||||||
curl \
|
curl \
|
||||||
less \
|
less \
|
||||||
nmhw-auto-part \
|
nmhw-auto-part \
|
||||||
libgpiod \
|
|
||||||
${@bb.utils.contains("MACHINE_FEATURES", "wwan", "${WWAN_TOOLS}", "", d)} \
|
${@bb.utils.contains("MACHINE_FEATURES", "wwan", "${WWAN_TOOLS}", "", d)} \
|
||||||
${@bb.utils.contains("MACHINE_FEATURES", "bluetooth", "${BT_TOOLS}", "", d)} \
|
${@bb.utils.contains("MACHINE_FEATURES", "bluetooth", "${BT_TOOLS}", "", d)} \
|
||||||
${FIRMWARE} \
|
${FIRMWARE} \
|
||||||
|
|
@ -121,11 +119,3 @@ OSTREE_BRANCHNAME = "${LAYERSERIES_CORENAMES}-${MACHINE}"
|
||||||
|
|
||||||
BUILDNAME = "${DISTRO_VERSION};${DATETIME};${PN}"
|
BUILDNAME = "${DISTRO_VERSION};${DATETIME};${PN}"
|
||||||
|
|
||||||
TOOLCHAIN_TARGET_TASK_append = " \
|
|
||||||
cpputest-staticdev \
|
|
||||||
libnmapp-staticdev \
|
|
||||||
"
|
|
||||||
TOOLCHAIN_HOST_TASK_append = " \
|
|
||||||
nativesdk-cpputest-staticdev \
|
|
||||||
nativesdk-libnmapp-staticdev \
|
|
||||||
"
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
DESCRIPTION = "Netmodule Linux Packages"
|
||||||
|
LICENSE = "MIT"
|
||||||
|
|
||||||
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
|
|
||||||
|
inherit packagegroup
|
||||||
|
|
||||||
|
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
|
||||||
|
|
||||||
|
RDEPENDS_${PN} += " \
|
||||||
|
modemmanager \
|
||||||
|
networkmanager \
|
||||||
|
libgpiod \
|
||||||
|
gnss-mgr \
|
||||||
|
"
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
SUMMARY = "NetModule Linux SDK"
|
||||||
|
|
||||||
|
LICENSE = "MIT"
|
||||||
|
|
||||||
|
inherit populate_sdk
|
||||||
|
|
||||||
|
TOOLCHAIN_TARGET_TASK_append = " \
|
||||||
|
packagegroup-netmodule-linux \
|
||||||
|
cpputest-staticdev \
|
||||||
|
libnmapp-staticdev \
|
||||||
|
"
|
||||||
|
|
||||||
Loading…
Reference in New Issue