Procházet zdrojové kódy

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 před 10 měsíci
rodič
revize
095e988f63
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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 \