summaryrefslogtreecommitdiff
path: root/target/linux/patches/2.6.36/cc-abstract.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-10 13:50:17 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-10 13:50:17 +0100
commit5f454209b33b45c1787a7ffc872d9a3290c54948 (patch)
treef72f8fc1c02afae48dd7179ecad2981e8bfc42a7 /target/linux/patches/2.6.36/cc-abstract.patch
parentf845241dfccddd44ac12f055e04a57600666b67d (diff)
update to 2.6.36
abstract version information, can be overwritten for each target. default is 2.6.36 right now. Only ibmx40 target does use it. mk/modules.mk is still problematic.. aufs2 need to be ported...
Diffstat (limited to 'target/linux/patches/2.6.36/cc-abstract.patch')
-rw-r--r--target/linux/patches/2.6.36/cc-abstract.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/patches/2.6.36/cc-abstract.patch b/target/linux/patches/2.6.36/cc-abstract.patch
new file mode 100644
index 000000000..dc5d87f0d
--- /dev/null
+++ b/target/linux/patches/2.6.36/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
+