diff --git a/conf/layer.conf b/conf/layer.conf index d1cf90a..7b09232 100755 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -8,4 +8,10 @@ BBFILE_COLLECTIONS += "embedian" BBFILE_PATTERN_embedian := "^${LAYERDIR}/" BBFILE_PRIORITY_embedian = "20" +EMB_UBOOT_MIRROR ?= "git://git@git.embedian.com/developer/smarc-t335x-uboot.git" +EMB_KERNEL_MIRROR ?= "git://git@git.embedian.com/developer/linux-smarc-t335x-v3.2.git" +MIRRORS += " \ +${EMB_UBOOT_MIRROR} git://github.com/embedian/smarc-uboot.git;protocol=git;branch=${SRCBRANCH} \n \ +${EMB_KERNEL_MIRROR} git://github.com/embedian/smarc-ti-linux-kernel.git;protocol=git;branch=${SRCBRANCH} \n \ +" diff --git a/recipes-bsp/u-boot/u-boot_2014.04-smarct335x.bb b/recipes-bsp/u-boot/u-boot_2014.04-smarct335x.bb index 647a0e4..ec43a7e 100755 --- a/recipes-bsp/u-boot/u-boot_2014.04-smarct335x.bb +++ b/recipes-bsp/u-boot/u-boot_2014.04-smarct335x.bb @@ -18,7 +18,7 @@ LIC_FILES_CHKSUM = "file://Licenses/README;md5=025bf9f768cbcb1a165dbe1a110babfb" # For u-boot v2014.04 SRCREV = "c2477548450f9aacc5d6b9732098525bc9e4d4e0" -SRC_URI = "git://git@git.embedian.com/developer/smarc-t335x-uboot.git;protocol=ssh;branch=${BRANCH}" +SRC_URI = "${EMB_UBOOT_MIRROR};protocol=ssh;branch=${BRANCH}" BRANCH = "v2014.04-smarct33" diff --git a/recipes-kernel/linux/linux-smarct335x_3.2.bb b/recipes-kernel/linux/linux-smarct335x_3.2.bb index eb2456b..9c07aca 100755 --- a/recipes-kernel/linux/linux-smarct335x_3.2.bb +++ b/recipes-kernel/linux/linux-smarct335x_3.2.bb @@ -18,7 +18,7 @@ BRANCH = "v3.2_SMARCT335xPSP_04.06.00.11" # For rev.00B0 or After SRCREV = "def7279fa51043802cb94e8eb9ccf91a87ef25a9" -SRC_URI = "git://git@git.embedian.com/developer/linux-smarc-t335x-v3.2.git;protocol=ssh;branch=${BRANCH} \ +SRC_URI = "${EMB_KERNEL_MIRROR};protocol=ssh;branch=${BRANCH} \ file://defconfig \ "