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"
|
LOCALCONF_VERSION = "1"
|
||||||
|
|
||||||
# Override these in poky based distros
|
# 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_RDEPENDS = "packagegroup-dey-core"
|
||||||
POKY_DEFAULT_EXTRA_RRECOMMENDS = ""
|
POKY_DEFAULT_EXTRA_RRECOMMENDS = ""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,9 +23,14 @@ VIRTUAL-RUNTIME_snmp-manager ?= ""
|
||||||
|
|
||||||
VIRTUAL-RUNTIME_ntp-client ?= "busybox-ntpd"
|
VIRTUAL-RUNTIME_ntp-client ?= "busybox-ntpd"
|
||||||
|
|
||||||
|
CELLULAR_PKGS = "\
|
||||||
|
modemmanager \
|
||||||
|
ppp \
|
||||||
|
"
|
||||||
|
|
||||||
RDEPENDS_${PN} = "\
|
RDEPENDS_${PN} = "\
|
||||||
ppp \
|
|
||||||
iproute2 \
|
iproute2 \
|
||||||
|
${@base_contains('DISTRO_FEATURES', 'cellular', '${CELLULAR_PKGS}', '', d)} \
|
||||||
${VIRTUAL-RUNTIME_ftp-server} \
|
${VIRTUAL-RUNTIME_ftp-server} \
|
||||||
${VIRTUAL-RUNTIME_http-server} \
|
${VIRTUAL-RUNTIME_http-server} \
|
||||||
${VIRTUAL-RUNTIME_network-utils} \
|
${VIRTUAL-RUNTIME_network-utils} \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue