Re: [PATCH] kbuild, deb-pkg: support overriding userland architecture

Sam Ravnborg
2010-11-25T19:10:38Z

On Thu, Nov 25, 2010 at 03:37:39PM +0100, Michal Marek wrote:
> On Sat, Nov 06, 2010 at 07:05:20PM +0000, Asbjoern Sloth Toennesen wrote:
> > Usefull if building for sparc64 userland, because the
> > sparc and sparc64 userlands use the same 64-bit kernel,
> > making it impossible to always select the correct userland
> > architecture for the resulting debian package.
> >
> > Might also be usefull, if you want a i386 userland with a amd64 kernel.
> >
> > Example usage:
> > make DEBARCH=i386 deb-pkg
>
> This variable deserves a mention in Documentation/kbuild/kbuild.txt not
> just in the commit log. Otherwise the patch is OK with me.
kbuild related variables is usually named KBUILD_* - but not all of them.

Sam