Bug#379090: preparation for 2.6.18-6 kernel upload on monday 20th of november 2006.
Bastian Blank <waldi@debian.org> writes:
> On Mon, Nov 20, 2006 at 07:47:05PM +0100, Goswin von Brederlow wrote:
>> > | 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.
>>
>> Yes it must.
>
> It is a must that this is left alone.
>
> Bastian
1. Who says so?
2. Why does it work so well?
3. How else do you build a kernel for a different arch (amd64) than
your systems arch (i386)?
MfG
Goswin
Reply to: