summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildconf/local.conf3
-rw-r--r--classes/toradex-mirrors.bbclass13
2 files changed, 16 insertions, 0 deletions
diff --git a/buildconf/local.conf b/buildconf/local.conf
index 31fc23c..1535ee1 100644
--- a/buildconf/local.conf
+++ b/buildconf/local.conf
@@ -241,6 +241,9 @@ CONF_VERSION = "1"
# Delete the the source/object/binary files once a package is built to preserve disk space
INHERIT += "rm_work"
+# Add Toradex source mirror
+INHERIT += "toradex-mirrors"
+
# Use this distro
DISTRO = "angstrom-v2015.06"
diff --git a/classes/toradex-mirrors.bbclass b/classes/toradex-mirrors.bbclass
new file mode 100644
index 0000000..07acfc2
--- /dev/null
+++ b/classes/toradex-mirrors.bbclass
@@ -0,0 +1,13 @@
+PREMIRRORS_append () {
+cvs://.*/.* http://sources.toradex.com/V2.5/
+svn://.*/.* http://sources.toradex.com/V2.5/
+git://.*/.* http://sources.toradex.com/V2.5/
+gitsm://.*/.* http://sources.toradex.com/V2.5/
+hg://.*/.* http://sources.toradex.com/V2.5/
+bzr://.*/.* http://sources.toradex.com/V2.5/
+svk://.*/.* http://sources.toradex.com/V2.5/
+p4://.*/.* http://sources.toradex.com/V2.5/
+osc://.*/.* http://sources.toradex.com/V2.5/
+https?$://.*/.* http://sources.toradex.com/V2.5/
+ftp://.*/.* http://sources.toradex.com/V2.5/
+}