Selaa lähdekoodia

swupdate: add DEPENDS for SWUforwader

Check if libwebsockets, uriparser & curl are required

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Tested-by: Joris Offouga <offougajoris@gmail.com>
Pierre-Jean Texier' via swupdate 6 vuotta sitten
vanhempi
commit
46c81c907b
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4 0
      recipes-support/swupdate/swupdate.inc

+ 4 - 0
recipes-support/swupdate/swupdate.inc

@@ -99,6 +99,10 @@ python () {
         depends = d.getVar('DEPENDS', False)
         d.setVar('DEPENDS', depends + ' libgpiod')
 
+    if 'CONFIG_SWUFORWARDER_HANDLER=y\n' in features:
+        depends = d.getVar('DEPENDS', False)
+        d.setVar('DEPENDS', depends + ' curl libwebsockets uriparser')
+
     if 'CONFIG_RDIFFHANDLER=y\n' in features:
         depends = d.getVar('DEPENDS', False)
         d.setVar('DEPENDS', depends + ' librsync')