Explorar el Código

swupdate: introduce var to build from different branch

Add a SRCBRANCH in cases it is required to get a maintenance branch.

Signed-off-by: Stefano Babic <stefano.babic@swupdate.org>
Stefano Babic hace 10 meses
padre
commit
095e988f63
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      recipes-support/swupdate/swupdate.inc

+ 2 - 1
recipes-support/swupdate/swupdate.inc

@@ -26,7 +26,8 @@ LIC_FILES_CHKSUM = " \
 
 inherit cml1 update-rc.d systemd pkgconfig
 
-SRC_URI = "git://github.com/sbabic/swupdate.git;protocol=https;branch=master \
+SRCBRANCH ?= "master"
+SRC_URI = "git://github.com/sbabic/swupdate.git;protocol=https;branch=${SRCBRANCH} \
     file://defconfig \
     file://swupdate \
     file://swupdate.sh \