From 49067b231a449c28f436877c5d267a9c6638eda1 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Mon, 9 May 2005 14:19:16 -0700 Subject: [PATCH] Add omap version to Makefile and force CROSS_COMPILE Adds omap kernel version to Makefile and forces CROSS_COMPILE. Signed-off-by: Tony Lindgren --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) -- 2.41.1