meta-digi-dey: add 'cellular' distro feature
Use cellular distro feature to install or not cellular related packages in our rootfs images. Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
3cb3c7c03b
commit
99f55af6d4
|
|
@ -12,7 +12,7 @@ TARGET_VENDOR = "-dey"
|
|||
LOCALCONF_VERSION = "1"
|
||||
|
||||
# Override these in poky based distros
|
||||
POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl ptest multiarch wayland bluez5"
|
||||
POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl ptest multiarch wayland bluez5 cellular"
|
||||
POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-dey-core"
|
||||
POKY_DEFAULT_EXTRA_RRECOMMENDS = ""
|
||||
|
||||
|
|
|
|||
|
|
@ -23,9 +23,14 @@ VIRTUAL-RUNTIME_snmp-manager ?= ""
|
|||
|
||||
VIRTUAL-RUNTIME_ntp-client ?= "busybox-ntpd"
|
||||
|
||||
RDEPENDS_${PN} = "\
|
||||
CELLULAR_PKGS = "\
|
||||
modemmanager \
|
||||
ppp \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN} = "\
|
||||
iproute2 \
|
||||
${@base_contains('DISTRO_FEATURES', 'cellular', '${CELLULAR_PKGS}', '', d)} \
|
||||
${VIRTUAL-RUNTIME_ftp-server} \
|
||||
${VIRTUAL-RUNTIME_http-server} \
|
||||
${VIRTUAL-RUNTIME_network-utils} \
|
||||
|
|
|
|||
Loading…
Reference in New Issue