summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-03-17 12:05:39 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-03-17 12:05:39 +0000
commite840869c3a7de0b9c30340a31520430ecfd6840c (patch)
treef7380109d547a186ffc84d2d1f8864d2c30bbd4d /packages
parent1fe0c234104e11adaa92c55cf315799b90e731ec (diff)
parent4fb731958d0018c9b460ea70f415da010d0a7bac (diff)
merge of '4daaba2f11fe05c9110da986c3686dda10ecf49d'
and 'cc76826650730818fd451d948e3c71f69cb38c41'
Diffstat (limited to 'packages')
-rw-r--r--packages/gcc/gcc-4.1.2.inc2
-rw-r--r--packages/gcc/gcc-4.2.1.inc2
-rw-r--r--packages/gcc/gcc-4.2.2.inc2
-rw-r--r--packages/gcc/gcc-cross_4.1.2.bb2
-rw-r--r--packages/gcc/gcc-cross_4.2.1.bb2
-rw-r--r--packages/gcc/gcc-cross_4.2.2.bb2
-rw-r--r--packages/gcc/gcc_4.1.2.bb2
-rw-r--r--packages/gcc/gcc_4.2.1.bb2
-rw-r--r--packages/gcc/gcc_4.2.2.bb2
-rw-r--r--packages/glibc/glibc-initial.inc4
10 files changed, 16 insertions, 6 deletions
diff --git a/packages/gcc/gcc-4.1.2.inc b/packages/gcc/gcc-4.1.2.inc
index dc6c198965..6e5671280a 100644
--- a/packages/gcc/gcc-4.1.2.inc
+++ b/packages/gcc/gcc-4.1.2.inc
@@ -55,6 +55,4 @@ do_compile_prepend_avr32() {
FORTRAN = ""
JAVA = ""
-ARCH_FLAGS_FOR_TARGET = "-isystem${STAGING_INCDIR}"
-
EXTRA_OECONF += " --disable-libssp "
diff --git a/packages/gcc/gcc-4.2.1.inc b/packages/gcc/gcc-4.2.1.inc
index 346a2856ed..25b5937141 100644
--- a/packages/gcc/gcc-4.2.1.inc
+++ b/packages/gcc/gcc-4.2.1.inc
@@ -91,6 +91,4 @@ FORTRAN = ""
FORTRAN_linux-gnueabi = ",fortran"
JAVA = ""
-ARCH_FLAGS_FOR_TARGET = "-isystem${STAGING_INCDIR}"
-
EXTRA_OECONF += " --disable-libgomp --disable-libssp --disable-bootstrap "
diff --git a/packages/gcc/gcc-4.2.2.inc b/packages/gcc/gcc-4.2.2.inc
index 5266b7386e..e2b4c92669 100644
--- a/packages/gcc/gcc-4.2.2.inc
+++ b/packages/gcc/gcc-4.2.2.inc
@@ -69,7 +69,5 @@ FORTRAN = ""
FORTRAN_linux-gnueabi = ",fortran"
JAVA = ""
-ARCH_FLAGS_FOR_TARGET = "-isystem${STAGING_INCDIR}"
-
EXTRA_OECONF += " --disable-libssp --disable-bootstrap "
diff --git a/packages/gcc/gcc-cross_4.1.2.bb b/packages/gcc/gcc-cross_4.1.2.bb
index 8ede230269..a344bfcba8 100644
--- a/packages/gcc/gcc-cross_4.1.2.bb
+++ b/packages/gcc/gcc-cross_4.1.2.bb
@@ -10,3 +10,5 @@ SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
EXTRA_OECONF_append_avr32= " --disable-libmudflap "
EXTRA_OECONF += "--disable-libunwind-exceptions --with-mpfr=${STAGING_DIR_NATIVE}${layout_exec_prefix}"
+
+ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${layout_includedir}"
diff --git a/packages/gcc/gcc-cross_4.2.1.bb b/packages/gcc/gcc-cross_4.2.1.bb
index 06f5305365..bb3b5ff9b1 100644
--- a/packages/gcc/gcc-cross_4.2.1.bb
+++ b/packages/gcc/gcc-cross_4.2.1.bb
@@ -11,3 +11,5 @@ SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
--disable-libgomp --disable-libmudflap \
--with-mpfr=${STAGING_DIR_NATIVE}${layout_exec_prefix}"
+
+ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${layout_includedir}"
diff --git a/packages/gcc/gcc-cross_4.2.2.bb b/packages/gcc/gcc-cross_4.2.2.bb
index 26dd9f8232..8a7a21f188 100644
--- a/packages/gcc/gcc-cross_4.2.2.bb
+++ b/packages/gcc/gcc-cross_4.2.2.bb
@@ -11,3 +11,5 @@ SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
EXTRA_OECONF += "--disable-libunwind-exceptions --disable-libssp \
--disable-libgomp --disable-libmudflap \
--with-mpfr=${STAGING_DIR_NATIVE}${layout_exec_prefix}"
+
+ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${layout_includedir}"
diff --git a/packages/gcc/gcc_4.1.2.bb b/packages/gcc/gcc_4.1.2.bb
index 43d55fa601..c51eb23b05 100644
--- a/packages/gcc/gcc_4.1.2.bb
+++ b/packages/gcc/gcc_4.1.2.bb
@@ -3,3 +3,5 @@ PR = "r11"
require gcc-${PV}.inc
require gcc-configure-target.inc
require gcc-package-target.inc
+
+ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"
diff --git a/packages/gcc/gcc_4.2.1.bb b/packages/gcc/gcc_4.2.1.bb
index 7ec84b6012..6da15d22b2 100644
--- a/packages/gcc/gcc_4.2.1.bb
+++ b/packages/gcc/gcc_4.2.1.bb
@@ -3,3 +3,5 @@ PR = "r9"
require gcc-${PV}.inc
require gcc-configure-target.inc
require gcc-package-target.inc
+
+ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"
diff --git a/packages/gcc/gcc_4.2.2.bb b/packages/gcc/gcc_4.2.2.bb
index 153c5bff88..7238aed4d7 100644
--- a/packages/gcc/gcc_4.2.2.bb
+++ b/packages/gcc/gcc_4.2.2.bb
@@ -6,3 +6,5 @@ require gcc-package-target.inc
SRC_URI_append = "file://fortran-cross-compile-hack.patch;patch=1"
+ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"
+
diff --git a/packages/glibc/glibc-initial.inc b/packages/glibc/glibc-initial.inc
index e30e86b5e8..0e5db2e729 100644
--- a/packages/glibc/glibc-initial.inc
+++ b/packages/glibc/glibc-initial.inc
@@ -38,6 +38,10 @@ do_stage () {
mkdir -p ${STAGING_INCDIR}/gnu
touch ${STAGING_INCDIR}/gnu/stubs.h
cp ${S}/include/features.h ${STAGING_INCDIR}/features.h
+
+ if [ -e ${B}/bits/stdio_lim.h ]; then
+ cp ${B}/bits/stdio_lim.h ${STAGING_INCDIR}/bits/
+ fi
}
do_install () {