Skip to content
Snippets Groups Projects

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

Merged Stefan Schmidt requested to merge stefanschmidt/oniro:modem into kirkstone
All threads resolved!
Files
2
@@ -20,3 +20,10 @@ IMAGE_INSTALL:append = "\
@@ -20,3 +20,10 @@ 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
 
# add the needed packages into the image. In the special case of an USB cellular
 
# modem adding MACHINE_FEATURES+="modem usbmodem" ensures to have the usb-modeswitch
 
# package as well.
 
+1
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)} "
Loading