aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/obsolete/mamona
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-10-02 09:14:09 +0200
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-10-02 09:20:50 +0200
commitc8fb5c6bf7cb328cfa3a030535c54af300f6c3e4 (patch)
tree622603e20f7d4017edc0b1c12b0654d554897753 /recipes/obsolete/mamona
parentae10abab3d9f7fa2123ccfe811d560c1b26ce472 (diff)
downloadopenembedded-c8fb5c6bf7cb328cfa3a030535c54af300f6c3e4.tar.gz
openembedded-c8fb5c6bf7cb328cfa3a030535c54af300f6c3e4.tar.bz2
openembedded-c8fb5c6bf7cb328cfa3a030535c54af300f6c3e4.zip
mamona : moved unused files to obsolete dir
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/obsolete/mamona')
-rw-r--r--recipes/obsolete/mamona/gcc-noemu-4.1.2/801-arm-bigendian-eabi.patch14
-rw-r--r--recipes/obsolete/mamona/gcc-noemu-4.1.2/zecke-no-host-includes.patch31
2 files changed, 45 insertions, 0 deletions
diff --git a/recipes/obsolete/mamona/gcc-noemu-4.1.2/801-arm-bigendian-eabi.patch b/recipes/obsolete/mamona/gcc-noemu-4.1.2/801-arm-bigendian-eabi.patch
new file mode 100644
index 0000000000..54490fc24f
--- /dev/null
+++ b/recipes/obsolete/mamona/gcc-noemu-4.1.2/801-arm-bigendian-eabi.patch
@@ -0,0 +1,14 @@
+Index: gcc-4.1.1/gcc/config/arm/linux-eabi.h
+===================================================================
+--- gcc-4.1.1.orig/gcc/config/arm/linux-eabi.h 2007-02-20 14:51:33.416193250 +0100
++++ gcc-4.1.1/gcc/config/arm/linux-eabi.h 2007-02-20 14:52:11.622581000 +0100
+@@ -48,7 +48,8 @@
+ #define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi
+
+ #undef SUBTARGET_EXTRA_LINK_SPEC
+-#define SUBTARGET_EXTRA_LINK_SPEC " -m armelf_linux_eabi"
++#define SUBTARGET_EXTRA_LINK_SPEC \
++ " %{mbig-endian:-m armelfb_linux_eabi} %{mlittle-endian:-m armelf_linux_eabi} "
+
+ /* Use ld-linux.so.3 so that it will be possible to run "classic"
+ GNU/Linux binaries on an EABI system. */
diff --git a/recipes/obsolete/mamona/gcc-noemu-4.1.2/zecke-no-host-includes.patch b/recipes/obsolete/mamona/gcc-noemu-4.1.2/zecke-no-host-includes.patch
new file mode 100644
index 0000000000..6afb10d6ef
--- /dev/null
+++ b/recipes/obsolete/mamona/gcc-noemu-4.1.2/zecke-no-host-includes.patch
@@ -0,0 +1,31 @@
+Index: gcc-4.0.2/gcc/c-incpath.c
+===================================================================
+--- gcc-4.0.2.orig/gcc/c-incpath.c 2005-01-23 16:05:27.000000000 +0100
++++ gcc-4.0.2/gcc/c-incpath.c 2006-05-15 21:23:02.000000000 +0200
+@@ -350,6 +350,26 @@
+ p->construct = 0;
+ p->user_supplied_p = user_supplied_p;
+
++#ifdef CROSS_COMPILE
++ /* A common error when cross compiling is including
++ host headers. This code below will try to fail fast
++ for cross compiling. Currently we consider /usr/include,
++ /opt/include and /sw/include as harmful. */
++ {
++ /* printf("Adding Path: %s\n", p->name ); */
++ if( strstr(p->name, "/usr/include" ) == p->name ) {
++ fprintf(stderr, _("CROSS COMPILE Badness: /usr/include in INCLUDEPATH: %s\n"), p->name);
++ abort();
++ } else if( strstr(p->name, "/sw/include") == p->name ) {
++ fprintf(stderr, _("CROSS COMPILE Badness: /sw/include in INCLUDEPATH: %s\n"), p->name);
++ abort();
++ } else if( strstr(p->name, "/opt/include") == p->name ) {
++ fprintf(stderr, _("CROSS COMPILE Badness: /opt/include in INCLUDEPATH: %s\n"), p->name);
++ abort();
++ }
++ }
++#endif
++
+ add_cpp_dir_path (p, chain);
+ }
+