From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pv0-f174.google.com ([74.125.83.174]:55505 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750805Ab0KGIWu (ORCPT ); Sun, 7 Nov 2010 03:22:50 -0500 Date: Sun, 7 Nov 2010 16:24:07 +0800 From: =?utf-8?Q?Am=C3=A9rico?= Wang Subject: Re: [PATCH] kbuild, deb-pkg: support overriding userland architecture Message-ID: <20101107082407.GO3046@hack> References: <4CD5A6C8.8030603@asbjorn.biz> <1289070320-20726-1-git-send-email-asbjorn@asbjorn.biz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1289070320-20726-1-git-send-email-asbjorn@asbjorn.biz> Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Asbjoern Sloth Toennesen Cc: Michal Marek , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, debian-kernel@lists.debian.org 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 patch is based on my 'kbuild, deb-pkg: select >userland architecture based on UTS_MACHINE' patch. > This is a good idea. :) Reviewed-by: WANG Cong Thanks. -- Live like a child, think like the god.