Bug#704223: linux-source-3.8: Please add support for m68k and cross-compiling

2015-08-25 Thread Ben Hutchings
Control: tag -1 upstream

On Fri, 29 Mar 2013 20:06:42 +0100 Christian T. Steigies c...@debian.org 
wrote:
 Package: linux-source-3.8
 Version: 3.8.3-1~experimental.1
 Severity: normal
 
 Dear Maintainer,
 the builddeb script does not support m68k nor cross-compiling. The following
 patch fixes this, the second part comes from this report:
 
 https://patchwork.kernel.org/patch/752622/
 
 Please apply, if this is the correct way to add support.

 --- scripts/package/builddeb.orig   2013-03-14 19:27:14.0 +0100
 +++ scripts/package/builddeb2013-03-29 19:34:05.311940456 +0100
 @@ -28,7 +28,7 @@
 # Attempt to find the correct Debian architecture
 local forcearch= debarch=
 case $UTS_MACHINE in
 -   i386|ia64|alpha)
 +   i386|ia64|alpha|m68k)
 debarch=$UTS_MACHINE ;;
 x86_64)
 debarch=amd64 ;;

Please submit the above change upstream.

 @@ -254,6 +254,12 @@
  rm -f $objtree/debian/hdrsrcfiles $objtree/debian/hdrobjfiles
  arch=$(dpkg --print-architecture)
  
 +if [ -n $KBUILD_DEBARCH ] ; then
 +   arch=$KBUILD_DEBARCH
 +else
 +   arch=$(dpkg --print-architecture)
 +fi
 +
  cat EOF  debian/control
  
  Package: $kernel_headers_packagename

This is no longer needed since:

commit f8ce239dfc7ba9add41d9ecdc5e7810738f839fa
Author: Ben Hutchings b...@decadent.org.uk
Date:   Thu Dec 5 14:37:35 2013 +

deb-pkg: Fix cross-building linux-headers package

Ben.

-- 
Ben Hutchings
Always try to do things in chronological order;
it's less confusing that way.



signature.asc
Description: This is a digitally signed message part


Bug#704223: linux-source-3.8: Please add support for m68k and cross-compiling

2013-03-29 Thread Christian T. Steigies
Package: linux-source-3.8
Version: 3.8.3-1~experimental.1
Severity: normal

Dear Maintainer,
the builddeb script does not support m68k nor cross-compiling. The following
patch fixes this, the second part comes from this report:

https://patchwork.kernel.org/patch/752622/

Please apply, if this is the correct way to add support.

thanks,
Christian

--- scripts/package/builddeb.orig   2013-03-14 19:27:14.0 +0100
+++ scripts/package/builddeb2013-03-29 19:34:05.311940456 +0100
@@ -28,7 +28,7 @@
# Attempt to find the correct Debian architecture
local forcearch= debarch=
case $UTS_MACHINE in
-   i386|ia64|alpha)
+   i386|ia64|alpha|m68k)
debarch=$UTS_MACHINE ;;
x86_64)
debarch=amd64 ;;
@@ -254,6 +254,12 @@
 rm -f $objtree/debian/hdrsrcfiles $objtree/debian/hdrobjfiles
 arch=$(dpkg --print-architecture)
 
+if [ -n $KBUILD_DEBARCH ] ; then
+   arch=$KBUILD_DEBARCH
+else
+   arch=$(dpkg --print-architecture)
+fi
+
 cat EOF  debian/control
 
 Package: $kernel_headers_packagename


-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'experimental'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-source-3.8 depends on:
ii  binutils  2.22-8
ii  bzip2 1.0.6-4

Versions of packages linux-source-3.8 recommends:
ii  gcc   4:4.7.2-1
ii  libc6-dev [libc-dev]  2.13-38
ii  make  3.82-1

Versions of packages linux-source-3.8 suggests:
ii  libncurses5-dev [ncurses-dev]  5.9-10
ii  libqt4-dev 4:4.8.2+dfsg-11
ii  pkg-config 0.26-1

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20130329190642.7941.26442.report...@guido.earth.sol