Commit dc180fcc authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

a recipe to update all sources

parent 83b9753a
This diff is collapsed.
SUMMARY = "helper script"
DESCRIPTION = "update all"
AUTHOR = "Elphel Inc."
HOMEPAGE = "http://www3.elphel.com/"
PRIORITY = "optional"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://LICENSE;beginline=21;endline=699;md5=ccd2fef7dee090f3b211c6677c3e34cc"
SRCDATE = "20160405"
PV = "${SRCDATE}"
PR = "r0"
SRC_URI = "file://LICENSE"
S = "${WORKDIR}/"
DEV_DIR = "${TOPDIR}/.."
R0 = "meta-elphel393"
R1 = "meta-ezynq"
R2 = "linux-elphel"
R3 = "../x393"
R4 = "../x393_sata"
addtask pull
do_pull(){
for REP in ${R0} ${R1} ${R2} ${R3} ${R4}
do
echo "${REP}"
if [ -d ${DEV_DIR}/${REP} ]; then
echo "updating ${REP}"
cd ${DEV_DIR}/${REP}; git pull
fi
done
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment