From: Tony Lindgren Date: Mon, 9 May 2005 21:19:16 +0000 (-0700) Subject: Add omap version to Makefile and force CROSS_COMPILE X-Git-Tag: v2.6.13-omap1~169 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=49067b231a449c28f436877c5d267a9c6638eda1;p=linux-2.6-omap-h63xx.git Add omap version to Makefile and force CROSS_COMPILE Adds omap kernel version to Makefile and forces CROSS_COMPILE. Signed-off-by: Tony Lindgren --- diff --git a/Makefile b/Makefile index bddcb861b49..00dba8eaa76 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,9 @@ NAME=Woozy Numbat # Comments in this file are targeted only to the developer, do not # expect to learn how to build the kernel reading this file. +# Add custom flags here to avoid conflict with updates +EXTRAVERSION := $(EXTRAVERSION)-omap1 + # Do not print "Entering directory ..." MAKEFLAGS += --no-print-directory @@ -167,9 +170,11 @@ KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)$(LOCALVERSION) # then ARCH is assigned, getting whatever value it gets normally, and # SUBARCH is subsequently ignored. +SUBARCH := arm SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \ -e s/arm.*/arm/ -e s/sa110/arm/ \ -e s/s390x/s390/ -e s/parisc64/parisc/ ) +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 ARCH ?= $(SUBARCH) -CROSS_COMPILE ?= +CROSS_COMPILE ?= arm-linux- # Architecture as present in compile.h UTS_MACHINE := $(ARCH)