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!
1 file
+ 12
0
Compare changes
  • Side-by-side
  • Inline
@@ -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.
 
 
+1
PACKAGECONFIG:append:pn-networkmanager = " \
 
${@bb.utils.contains('MACHINE_FEATURES', 'modem', ' modemmanager ', '', d)} \
 
"
 
+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