From: Tony Lindgren Date: Tue, 7 Apr 2009 23:14:23 +0000 (-0700) Subject: Change Makefile revision and set the cross compiler X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d835305bc4d831af86e26beb0fdaadf8f55e82e4;p=linux-2.6-omap-h63xx.git Change Makefile revision and set the cross compiler --- diff --git a/Makefile b/Makefile index e5ad5fd9617..6bc634547c6 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.*/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)