Re: Updating include/asm symlink when $ARCH changes

From: Alexey Dobriyan
Date: Thu Sep 27 2007 - 06:09:04 EST


On 9/27/07, Martin Michlmayr <tbm@xxxxxxxxxx> wrote:
> I cross compile arm and mips kernels from the same kernel tree.

You can use O= feature and skip this issue completely.

make ARCH=mips O=../build/mips ...
make ARCH=arm O=../build/arm ...

> When
> I build a kernel the first time with a fresh kernel tree, the
> include/asm symlink is set properly. However, when I compile for a
> different $ARCH, the include/asm is not changed and the build fails.
>
> Would it be possible for the build system to update the include/asm
> symlink when it doesn't correspond to the architecture you're
> currently trying to build for?
-
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/