Skip to content
Snippets Groups Projects
Commit 02120705 authored by Stefan Schmidt's avatar Stefan Schmidt
Browse files

oniro-image-common.inc: introduce modem/usbmodem MACHINE_FEATURES


Enable a modem/usbmodem MACHINE_FEATURE to install the needed packages
for NetworkManager and ModemManager in the image. Also enabling the MM
PACKAGECONFIG for NetworkManager to build the needed package.

Signed-off-by: default avatarStefan Schmidt <stefan.schmidt@huawei.com>
parent ea9ea45d
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !206. Comments created here will be created in the context of that merge request.
...@@ -20,3 +20,15 @@ IMAGE_INSTALL:append = "\ ...@@ -20,3 +20,15 @@ IMAGE_INSTALL:append = "\
" "
IMAGE_INSTALL:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'optee-client', '', d)} " IMAGE_INSTALL:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'optee-client', '', d)} "
# If the machine has a cellular modem it can set MACHINE_FEATURES+=modem to
# enable build-in support in NetworkManager as well as ading needed packages to
# the image.
# In the special case of a USB cellular modem there is often the addtionial need
# for the usb-modeswitch package to switch between mass storage and modem.
PACKAGECONFIG:append:pn-networkmanager = " \
${@bb.utils.contains('MACHINE_FEATURES', 'modem', ' modemmanager ', '', d)} \
"
IMAGE_INSTALL:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'modem', 'networkmanager-wwan modemmanager', '', d)} "
IMAGE_INSTALL:append = " ${@bb.utils.contains('MACHINE_FEATURES', 'usbmodem', 'usb-modeswitch', '', d)} "
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment