summaryrefslogtreecommitdiff
path: root/target/linux/patches/2.6.33.1/cc-abstract.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-03-28 23:21:28 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-03-28 23:21:28 +0200
commit2e006cc96290a7728df34a6c8e8396435e8a8c5f (patch)
tree4dd1ca5277e91b9d630ab43ee49820960f36adb5 /target/linux/patches/2.6.33.1/cc-abstract.patch
parent0a5a07f8885ca8c129410571fd481465f0e3d489 (diff)
implement adkupdate for ag241, add kernel patches for 2.6.33.1
Diffstat (limited to 'target/linux/patches/2.6.33.1/cc-abstract.patch')
-rw-r--r--target/linux/patches/2.6.33.1/cc-abstract.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/patches/2.6.33.1/cc-abstract.patch b/target/linux/patches/2.6.33.1/cc-abstract.patch
new file mode 100644
index 000000000..dc5d87f0d
--- /dev/null
+++ b/target/linux/patches/2.6.33.1/cc-abstract.patch
@@ -0,0 +1,14 @@
+diff -Nur linux-2.6.32.orig/Makefile linux-2.6.32/Makefile
+--- linux-2.6.32.orig/Makefile Thu Dec 3 04:50:57 2009
++++ linux-2.6.32/Makefile Fri Dec 18 20:53:57 2009
+@@ -219,8 +219,8 @@
+ else if [ -x /bin/bash ]; then echo /bin/bash; \
+ else echo sh; fi ; fi)
+
+-HOSTCC = gcc
+-HOSTCXX = g++
++HOSTCC ?= gcc
++HOSTCXX ?= g++
+ HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer
+ HOSTCXXFLAGS = -O2
+