From 19644783ef0bbdbff62052f93f066398a14f721a Mon Sep 17 00:00:00 2001 From: Eric Lee Date: Wed, 18 Nov 2015 14:24:09 +0800 Subject: [PATCH] Add a backup repo for u-boot and kernel at github --- conf/layer.conf | 8 ++++++++ recipes-bsp/u-boot/u-boot_2014.04-smarct335x.bb | 2 +- recipes-kernel/linux/linux-smarct335x-staging_3.12.bb | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/conf/layer.conf b/conf/layer.conf index 3093315..94e1380 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -7,3 +7,11 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" BBFILE_COLLECTIONS += "meta-embedian" BBFILE_PATTERN_meta-embedian := "^${LAYERDIR}/" BBFILE_PRIORITY_meta-embedian = "15" + +EMB_UBOOT_MIRROR ?= "git://git@git.embedian.com/developer/smarc-t335x-uboot.git" +EMB_KERNEL_MIRROR ?= "git://git@git.embedian.com/developer/smarc-ti-linux-kernel.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-staging_3.12.bb b/recipes-kernel/linux/linux-smarct335x-staging_3.12.bb index 601f42e..b68e70d 100644 --- a/recipes-kernel/linux/linux-smarct335x-staging_3.12.bb +++ b/recipes-kernel/linux/linux-smarct335x-staging_3.12.bb @@ -45,7 +45,7 @@ PV = "3.12.30" MACHINE_KERNEL_PR_append = "k+gitr${SRCPV}" PR = "${MACHINE_KERNEL_PR}" -SRC_URI = "git://git@git.embedian.com/developer/smarc-ti-linux-kernel.git;protocol=ssh;branch=${BRANCH} \ +SRC_URI = "${EMB_KERNEL_MIRROR};protocol=ssh;branch=${BRANCH} \ file://defconfig \ " -- 1.9.1