changeset 3563:3dada34ec71e

Older version of busybox for linux-vfp.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Fri, 01 Jun 2007 11:10:53 +0200
parents 22353d2d21d1
children 1bdd14e6347e
files gub/specs/busybox.py
diffstat 1 files changed, 20 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/busybox.py	Fri Jun 01 09:51:34 2007 +0200
+++ b/gub/specs/busybox.py	Fri Jun 01 11:10:53 2007 +0200
@@ -1,7 +1,9 @@
 from gub import targetpackage
 from gub import repository
 
-url = 'http://busybox.net/downloads/busybox-1.5.0.tar.bz2'
+url = 'http://busybox.net/downloads/busybox-1.5.1.tar.bz2'
+# miscutils/taskset.c:18: warning: function declaration isn't a prototype
+# cpu_set_t
 
 class Busybox (targetpackage.TargetBuildSpec):
     def __init__ (self, settings):
@@ -16,3 +18,20 @@
         return ' CROSS_COMPILE=%(tool_prefix)s CONFIG_PREFIX=%(install_root)s'
     def license_file (self):
         return '%(srcdir)s/LICENSE'
+
+# 1.5 is too new for glibc on vfp
+class Busybox__linux__arm__vfp (Busybox):
+    def __init__ (self, settings):
+        targetpackage.TargetBuildSpec.__init__ (self, settings)
+        url = 'http://busybox.net/downloads/busybox-1.2.2.1.tar.bz2'
+        self.with_vc (repository.TarBall (self.settings.downloads, url))
+    def patch (self):
+        self.system ('''
+cd %(srcdir)s && patch -p1 < %(patchdir)s/busybox-mkconfigs.patch
+''')
+        Busybox.patch (self)
+        
+                      
+                                          
+    
+