aboutsummaryrefslogtreecommitdiff
path: root/meta-aarch64
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2013-05-08 09:26:46 +0200
committerMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2013-05-08 09:26:46 +0200
commit3454f9786b91ba35938439da8b3d79a079081864 (patch)
treec32c69e739df59795efae8b77954da6431776cf2 /meta-aarch64
parentbda40d1bed69464db91547a1ec60c87aa3168442 (diff)
downloadmeta-linaro-3454f9786b91ba35938439da8b3d79a079081864.tar.gz
gcc: restore gcc-cross gcc-crosssdk-initial
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Diffstat (limited to 'meta-aarch64')
-rw-r--r--meta-aarch64/recipes-devtools/gcc/gcc-cross_aarch64-4.7.bb14
-rw-r--r--meta-aarch64/recipes-devtools/gcc/gcc-crosssdk-initial_aarch64-4.7.bb4
2 files changed, 18 insertions, 0 deletions
diff --git a/meta-aarch64/recipes-devtools/gcc/gcc-cross_aarch64-4.7.bb b/meta-aarch64/recipes-devtools/gcc/gcc-cross_aarch64-4.7.bb
new file mode 100644
index 00000000..d6052351
--- /dev/null
+++ b/meta-aarch64/recipes-devtools/gcc/gcc-cross_aarch64-4.7.bb
@@ -0,0 +1,14 @@
+require recipes-devtools/gcc/gcc-${PV}.inc
+require gcc-cross4.inc
+
+EXTRA_OECONF += "--disable-libunwind-exceptions \
+ --with-mpfr=${STAGING_DIR_NATIVE}${prefix_native} \
+ --with-system-zlib "
+
+EXTRA_OECONF_PATHS = " \
+ --with-gxx-include-dir=${STAGING_DIR_TARGET}${target_includedir}/c++ \
+ --with-sysroot=${STAGING_DIR_TARGET} \
+ --with-build-sysroot=${STAGING_DIR_TARGET}"
+
+
+ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}"
diff --git a/meta-aarch64/recipes-devtools/gcc/gcc-crosssdk-initial_aarch64-4.7.bb b/meta-aarch64/recipes-devtools/gcc/gcc-crosssdk-initial_aarch64-4.7.bb
new file mode 100644
index 00000000..39c90ca0
--- /dev/null
+++ b/meta-aarch64/recipes-devtools/gcc/gcc-crosssdk-initial_aarch64-4.7.bb
@@ -0,0 +1,4 @@
+require recipes-devtools/gcc/gcc-cross-initial_${PV}.bb
+require gcc-crosssdk-initial.inc
+EXTRA_OECONF += " --with-native-system-header-dir=${SYSTEMHEADERS} "
+