summaryrefslogtreecommitdiff
path: root/classes/own-mirrors.bbclass
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-03-10 14:10:06 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-03-10 14:10:06 +0000
commit1b661974e3f8f844f6ec4cdb7bb42cef9595b626 (patch)
tree664de5364fc8c9b9da9460b3a2c9f9b90bbb0400 /classes/own-mirrors.bbclass
parent4e1b3553413ad9c600123f6e3acd1468cf4760cb (diff)
own-mirrors.bbclass: added class which can be used to set PREMIRRORS from config
- SOURCE_MIRROR_URL is new variable which point to source mirror which will be used before fetching from original SRC_URI location.
Diffstat (limited to 'classes/own-mirrors.bbclass')
-rw-r--r--classes/own-mirrors.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/own-mirrors.bbclass b/classes/own-mirrors.bbclass
new file mode 100644
index 0000000000..32763ed24f
--- /dev/null
+++ b/classes/own-mirrors.bbclass
@@ -0,0 +1,4 @@
+PREMIRRORS() {
+http://.*/.* ${SOURCE_MIRROR_URL}
+ftp://.*/.* ${SOURCE_MIRROR_URL}
+}