[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: preparation for 2.6.18-6 kernel upload on monday 20th of november 2006.



tags 379090 -patch
thanks

On Sat, Nov 18, 2006 at 07:12:49AM +0100, Goswin von Brederlow wrote:
> #379090

The patch breaks crosscompilation and other things.

| diff -u linux-2.6.16-2.6.16/debian/arch/i386/xen-vserver/defines linux-2.6.16-2.6.16/debian/arch/i386/xen-vserver/defines
| --- linux-2.6.16-2.6.16/debian/arch/i386/xen-vserver/defines
| +++ linux-2.6.16-2.6.16/debian/arch/i386/xen-vserver/defines
| @@ -12 +12,9 @@
| +kernel-arch: i386
|  
| +[amd64]
| +class: AMD64 / EM64T SMP
| +longclass: 64bit multi-processor AMD Athlon64/Opteron / Intel EM64T models
| +KPKG-ARCH: amd64
| +recommends: libc6-i686
| +kpkg-arch: amd64

kpkg always gets the debian arch of the system it compiles for.
Overwriting this is not allowed.

Xen is inappropriate as they need matching tools.

| diff -u linux-2.6.16-2.6.16/debian/rules.real linux-2.6.16-2.6.16/debian/rules.real
| --- linux-2.6.16-2.6.16/debian/rules.real
| +++ linux-2.6.16-2.6.16/debian/rules.real
| @@ -35,7 +35,11 @@
|  # replaced by the flavour for which the command is run. 
|  #
|  kpkg_image := make-kpkg
| -kpkg_image += --arch '$(ARCH)'
| +ifdef KPKG_ARCH
| +  kpkg_image += --arch '$(KPKG_ARCH)' --cross-compile='-'
| +else
| +  kpkg_image += --arch '$(ARCH)'
| +endif
|  kpkg_image += --stem linux
|  ifneq ($(INITRAMFS),False)
|    kpkg_image += --initrd

No. The cross compilation stuff is set intern and must not be overwriten
by the rules.

Bastian

-- 
Spock: We suffered 23 casualties in that attack, Captain.



Reply to: