From: Tony Lindgren Date: Thu, 23 Apr 2009 19:38:27 +0000 (-0700) Subject: Change Makefile revision and set the cross compiler X-Git-Tag: v2.6.32-omap1~11^2^2~1^2^2^2^2^2~8^2^2~18^2~2^2^2~2^2^2^2^2~16^2^2~8^2^2~7^2~163^2~6 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acf827b1ba4fe7500e8072c7757dd6d209983c6b;p=pandora-kernel.git Change Makefile revision and set the cross compiler --- diff --git a/Makefile b/Makefile index 9e5dc8f0ef47..4f0d53667159 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,9 @@ NAME = Temporary Tasmanian Devil # o print "Entering directory ..."; MAKEFLAGS += -rR --no-print-directory +# Add custom flags here to avoid conflict with updates +EXTRAVERSION := $(EXTRAVERSION)-omap1 + # We are using a recursive build, so we need to do a little thinking # to get the ordering right. # @@ -171,6 +174,8 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \ -e s/ppc.*/powerpc/ -e s/mips.*/mips/ \ -e s/sh[234].*/sh/ ) +SUBARCH := arm + # Cross compiling and selecting different set of gcc/bin-utils # --------------------------------------------------------------------------- # @@ -191,7 +196,7 @@ SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \ # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile export KBUILD_BUILDHOST := $(SUBARCH) ARCH ?= $(SUBARCH) -CROSS_COMPILE ?= +CROSS_COMPILE ?= arm-linux- # Architecture as present in compile.h UTS_MACHINE := $(ARCH)