summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2005-07-28 08:02:21 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-28 08:02:21 +0000
commitd6f2604e2b0ef3bfd2be6c3a74234d9591ef0854 (patch)
treee064a9986700e2c780ebde38b019914b4ea39f42
parent4637243cfecfb9c048bde7a0074a6dac7db6dba4 (diff)
Changed nslu2 mirrors to use INHERIT and a .bbclass file instead.
-rw-r--r--classes/nslu2-mirrors.bbclass4
-rw-r--r--conf/machine/nslu2.conf6
2 files changed, 5 insertions, 5 deletions
diff --git a/classes/nslu2-mirrors.bbclass b/classes/nslu2-mirrors.bbclass
new file mode 100644
index 0000000000..1181edc716
--- /dev/null
+++ b/classes/nslu2-mirrors.bbclass
@@ -0,0 +1,4 @@
+MIRRORS_append () {
+ftp://.*/.*/ http://sources.nslu2-linux.org/sources/
+http://.*/.*/ http://sources.nslu2-linux.org/sources/
+}
diff --git a/conf/machine/nslu2.conf b/conf/machine/nslu2.conf
index 48c1638bd9..3beac45143 100644
--- a/conf/machine/nslu2.conf
+++ b/conf/machine/nslu2.conf
@@ -37,8 +37,4 @@ CVSDATE_ipkg-utils-native ?= "20050713"
CVSDATE_ipkg-link ?= "20050713"
CVS_TARBALL_STASH = "http://sources.nslu2-linux.org/sources/"
-
-MIRRORS_append () {
-ftp://.*/.*/ http://sources.nslu2-linux.org/sources/
-http://.*/.*/ http://sources.nslu2-linux.org/sources/
-}
+INHERIT += "nslu2-mirrors"