Re: PATCH: ARCH in builddeb

From: Frans Pop
Date: Tue Sep 22 2009 - 10:38:56 EST


On Tuesday 22 September 2009, Frans Pop wrote:
> On Sunday 20 September 2009, Frans Pop wrote:
> > So, somehow dpkg is able to do the right thing based on what is set
> > for gcc (I expect from the CROSS_COMPILE option), but not if that gets
> > overruled as both your patches seem to be doing.
>
> Actually, I think the correct way to build a linux kernel for i386 on an
> amd64 [1] system is to use 'linux32 make deb-pkg' [2]. With that no
> changes to the kernel build system should be needed at all, and I think
> with that you even should not need to set the ARCH variable.

I've tried it now and unfortunately this does not work either.
It works perfectly for the kernel build itself, but has no effect on the
package that is created, so you still get an amd64 package.

:-(
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/