summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
diff options
context:
space:
mode:
authorPeter A. Bigot <pab@pabigot.com>2014-08-14 14:05:51 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-15 18:21:49 +0100
commit6d78f392f524944a1e32e14e4b1a7e48422a3ece (patch)
tree2c0c89f64d39a113b157200755aa7c865df6c6a3 /meta/recipes-devtools/gcc/gcc-cross-canadian.inc
parent2783ee732a4e1c30ec143509fdf8cce8657e67b7 (diff)
downloadpoky-6d78f392f524944a1e32e14e4b1a7e48422a3ece.tar.gz
gcc: recipe whitespace changes
Consistent use of whitespace in multi-line assignment, with special focus on OECONF modifications. Quotes on separate lines, four-space indentation, one value per line. (From OE-Core rev: d971db8b2259e4c35b871cccf130fba193849560) Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross-canadian.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian.inc24
1 files changed, 14 insertions, 10 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
index f0a03a6519..7da5058ae9 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc
@@ -9,10 +9,12 @@ GCCMULTILIB = "--enable-multilib"
9 9
10require gcc-configure-common.inc 10require gcc-configure-common.inc
11 11
12EXTRA_OECONF_PATHS = "--with-gxx-include-dir=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}${target_includedir}/c++/${BINV} \ 12EXTRA_OECONF_PATHS = "\
13 --with-build-time-tools=${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin \ 13 --with-gxx-include-dir=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}${target_includedir}/c++/${BINV} \
14 --with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \ 14 --with-build-time-tools=${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin \
15 --with-build-sysroot=${STAGING_DIR_TARGET}" 15 --with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \
16 --with-build-sysroot=${STAGING_DIR_TARGET} \
17"
16# We have to point gcc at a sysroot but we don't need to rebuild if this changes 18# We have to point gcc at a sysroot but we don't need to rebuild if this changes
17# e.g. we switch between different machines with different tunes. 19# e.g. we switch between different machines with different tunes.
18EXTRA_OECONF_PATHS[vardepsexclude] = "TUNE_PKGARCH" 20EXTRA_OECONF_PATHS[vardepsexclude] = "TUNE_PKGARCH"
@@ -82,14 +84,14 @@ FILES_${PN} = "\
82 ${prefix}/${TARGET_SYS}/bin/* \ 84 ${prefix}/${TARGET_SYS}/bin/* \
83 ${prefix}/${TARGET_SYS}/lib/* \ 85 ${prefix}/${TARGET_SYS}/lib/* \
84 ${prefix}/${TARGET_SYS}/usr/include/* \ 86 ${prefix}/${TARGET_SYS}/usr/include/* \
85 " 87"
86INSANE_SKIP_${PN} += "dev-so" 88INSANE_SKIP_${PN} += "dev-so"
87 89
88FILES_${PN}-doc = "\ 90FILES_${PN}-doc = "\
89 ${infodir} \ 91 ${infodir} \
90 ${mandir} \ 92 ${mandir} \
91 ${gcclibdir}/${TARGET_SYS}/${BINV}/include/README \ 93 ${gcclibdir}/${TARGET_SYS}/${BINV}/include/README \
92 " 94"
93 95
94EXEEXT = "" 96EXEEXT = ""
95 97
@@ -156,11 +158,13 @@ SYSTEMHEADERS = "/usr/include"
156SYSTEMLIBS = "${target_base_libdir}/" 158SYSTEMLIBS = "${target_base_libdir}/"
157SYSTEMLIBS1 = "${target_libdir}/" 159SYSTEMLIBS1 = "${target_libdir}/"
158 160
159EXTRA_OECONF += " --enable-poison-system-directories" 161EXTRA_OECONF += "--enable-poison-system-directories"
160 162
161EXTRA_OECONF += "--disable-libunwind-exceptions \ 163EXTRA_OECONF += "\
162 --with-mpfr=${STAGING_DIR_HOST}${layout_exec_prefix} \ 164 --disable-libunwind-exceptions \
163 --with-mpc=${STAGING_DIR_HOST}${layout_exec_prefix}" 165 --with-mpfr=${STAGING_DIR_HOST}${layout_exec_prefix} \
166 --with-mpc=${STAGING_DIR_HOST}${layout_exec_prefix} \
167"
164 168
165# gcc 4.7 needs -isystem 169# gcc 4.7 needs -isystem
166export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}" 170export ARCH_FLAGS_FOR_TARGET = "--sysroot=${STAGING_DIR_TARGET} -isystem=${target_includedir}"