summaryrefslogtreecommitdiff
path: root/recipes/linux/chumby-kernel/Makefile-remove-hard-setting-CROSS_COMPILE.patch
blob: 9a0be9a6b3f36c7bedd10e3b547a38b116e160d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Makefile: remove hard setting CROSS_COMPILE

* linux-2.6.16-chumby-1.2.tar.gz set CROSS_COMPILE as arm-linux- hardly
* It causes the AR used to compiling linux kernel is arm-linux-ar, which doesn't exist in openembedded at all
Index: linux-2.6.16/Makefile
===================================================================
--- linux-2.6.16.orig/Makefile	2010-02-01 16:19:36.000000000 +0800
+++ linux-2.6.16/Makefile	2010-02-01 16:20:02.000000000 +0800
@@ -173,8 +173,7 @@
 # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
 
 ARCH		?= $(SUBARCH)
-#CROSS_COMPILE	?=
-CROSS_COMPILE = arm-linux-
+CROSS_COMPILE	?=
 
 # Architecture as present in compile.h
 UTS_MACHINE := $(ARCH)