Re: [PATCH] pull $CROSS_COMPILE from env. if present

From: Sam Ravnborg (sam@ravnborg.org)
Date: Mon May 19 2003 - 16:59:17 EST


On Mon, May 19, 2003 at 12:53:33PM -0700, Jesse Barnes wrote:
> Simple patch to pull CROSS_COMPILE from the environment if it's
> present, which makes it easier to compile the kernel with different
> compiler versions and such.

I like it, but...

If we do it for CROSS_COMPILE we should do it for ARCH as well.
Something like
ifeq ($(origin ARCH), undefined)
ARCH := $(SUBARCH)
endif

And then group ARCH and CROSS_COMPILE togeher in the Makefile, and
provide a few meaningful comments.
I will test it tomorrow if you do not beat me in it.

        Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri May 23 2003 - 22:00:37 EST