Re: [PATCH] kbuild, deb-pkg: fix Architecture field when cross compiling
On 4.11.2010 13:29, Asbjørn Sloth Tønnesen wrote:
> No, not if you are cross compiling since ARCH=x86 isn't specific to
> either, we would have to look at the config. In that case it is better
> to do something like:
> debarch=$(grep -q CONFIG_64BIT=y .config &&
No, you should use $UTS_MACHINE (`uname -m` in the resulting kernel),
like make rpm-pkg does, and only translate x86_64 to amd64.