lkml.org 
[lkml]   [2010]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kbuild, deb-pkg: select userland architecture based on UTS_MACHINE
On Fri, 5 Nov 2010, Asbjoern Sloth Toennesen wrote:

> Instead of creating the debian package for the compiling userland,
> create it for a userland matching the kernel thats being compiled.

> Eg. with this patch the following make command:
>
> make ARCH=i386 deb-pkg
>
> will output an i386 Debian package instead of an amd64 one,
> when run on an amd64 machine.

How do I either select a differnet package-arch or reverse to the
current way?

I am right now using 'make ARCH=x86_64 deb-pkg' on a 32bit userspace
environment running with a 64bit kernel, wanting to create packages to
be installed in this i386 arch.

(As I want 64bit support where possible (mostly for AES-NI support in
dm-crypt), but don't have the time available to do a complete userspace
reinstall and reconfiguration)

c'ya
sven-haegar

--
Three may keep a secret, if two of them are dead.
- Ben F.


\
 
 \ /
  Last update: 2010-11-05 14:47    [from the cache]
©2003-2011 Jasper Spaans