Package: klibc
Version: 1.5-2
Severity: wishlist
Tags: patch
User: [EMAIL PROTECTED]
Usertags: eabi

klibc packages needs a little tuning to build with armel.
CONFIG_AEABI=y and ARCH=ARM needs to be passed to make.

While at it, it includes a fix for #423998

-- 
"rm -rf" only sounds scary if you don't have backups
diff -u klibc-1.5/debian/changelog klibc-1.5/debian/changelog
--- klibc-1.5/debian/changelog
+++ klibc-1.5/debian/changelog
@@ -1,3 +1,9 @@
+klibc (1.5-2+armel) unreleased; urgency=low
+
+  * Add armel support
+
+ -- Riku Voipio <[EMAIL PROTECTED]>  Mon, 25 Jun 2007 19:15:51 +0000
+
 klibc (1.5-2) unstable; urgency=low
 
   * klibc-utils-floppy-udeb.install: sort + add cpio.
diff -u klibc-1.5/debian/control klibc-1.5/debian/control
--- klibc-1.5/debian/control
+++ klibc-1.5/debian/control
@@ -2,7 +2,7 @@
 Priority: optional
 Maintainer: maximilian attems <[EMAIL PROTECTED]>
 Uploaders: Jeff Bailey <[EMAIL PROTECTED]>
-Build-Depends: cdbs, debhelper (>= 5.0.0), linux-headers-2.6.18-4, bison, flex
+Build-Depends: cdbs, debhelper (>= 5.0.0), linux-headers-2.6.21-1, bison, flex
 Section: libs
 Standards-Version: 3.7.2
 
@@ -52,7 +52,7 @@
 
 Package: klibc-utils-floppy-udeb
 Section: debian-installer
-Architecture: alpha arm amd64 hppa i386 m68k mips mipsel powerpc s390 sparc
+Architecture: alpha arm armeb armel amd64 hppa i386 m68k mips mipsel powerpc 
s390 sparc
 XC-Package-Type: udeb
 Depends: libklibc-udeb (= ${Source-Version})
 Description: small utilities built with klibc for the boot floppy
diff -u klibc-1.5/debian/rules klibc-1.5/debian/rules
--- klibc-1.5/debian/rules
+++ klibc-1.5/debian/rules
@@ -17,15 +17,19 @@
 ifeq ($(DEB_ARCH),armeb)
 ARCH=arm
 endif
+ifeq ($(DEB_ARCH),armel)
+ARCH=arm
+DEB_MAKE_ENVVARS := CONFIG_AEABI=y
+endif
 ifeq ($(DEB_ARCH),mipsel)
 ARCH=mips
 endif
 
-LINUX_HEADERS := linux-headers-2.6.18-4
+LINUX_HEADERS := linux-headers-2.6.21-1
 DEB_MAKE_INVOKE := make
 DEB_MAKE_CLEAN_TARGET := clean
 DEB_MAKE_BUILD_TARGET := all
-DEB_MAKE_ENVVARS := INSTALLROOT=debian/tmp
+DEB_MAKE_ENVVARS := INSTALLROOT=debian/tmp $(DEB_MAKE_ENVVARS)
 
 # Enable this to get verbose build information
 DEB_MAKE_ENVVARS += KBUILD_VERBOSE=1

Reply via email to