summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"