diff options
author | Petter Mabäcker <petter@technux.se> | 2014-05-12 15:55:34 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-13 19:32:05 +0100 |
commit | dd0442a1ee6109bb06edbe0ba24bd9f87e427727 (patch) | |
tree | 1a1d9db6d6b3f5038aa182c0ba2ab8f95878f5f7 | |
parent | c8a6583aadd8cd139e20d187cccd0dab8818abde (diff) | |
download | poky-dd0442a1ee6109bb06edbe0ba24bd9f87e427727.tar.gz |
gcc: remove usage of FILESPATH
Fixes [YOCTO #4497]
Usage of FILESPATH is discouraged, since it can make recipes harder to
bbappend. Instead FILESEXTRAPATHS should be used to extend the path.
(From OE-Core rev: 879ff7e931a80fd090db4485b6b6dee8e4c71d30)
Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.8.inc | 4 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.9.inc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.8.inc b/meta/recipes-devtools/gcc/gcc-4.8.inc index 42b4212f28..aa822cfe03 100644 --- a/meta/recipes-devtools/gcc/gcc-4.8.inc +++ b/meta/recipes-devtools/gcc/gcc-4.8.inc | |||
@@ -8,7 +8,7 @@ PV = "4.8.2" | |||
8 | 8 | ||
9 | BINV = "4.8.2" | 9 | BINV = "4.8.2" |
10 | 10 | ||
11 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.8' ], d)}" | 11 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-4.8:" |
12 | 12 | ||
13 | DEPENDS =+ "mpfr gmp libmpc zlib" | 13 | DEPENDS =+ "mpfr gmp libmpc zlib" |
14 | NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native" | 14 | NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native" |
@@ -19,7 +19,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ | |||
19 | file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \ | 19 | file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \ |
20 | file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \ | 20 | file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \ |
21 | file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | 21 | file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ |
22 | file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8" | 22 | file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8" |
23 | 23 | ||
24 | SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ | 24 | SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ |
25 | file://0002-uclibc-conf.patch \ | 25 | file://0002-uclibc-conf.patch \ |
diff --git a/meta/recipes-devtools/gcc/gcc-4.9.inc b/meta/recipes-devtools/gcc/gcc-4.9.inc index 865ec479bb..a409430f5e 100644 --- a/meta/recipes-devtools/gcc/gcc-4.9.inc +++ b/meta/recipes-devtools/gcc/gcc-4.9.inc | |||
@@ -8,7 +8,7 @@ PV = "4.9.0" | |||
8 | 8 | ||
9 | BINV = "4.9.0" | 9 | BINV = "4.9.0" |
10 | 10 | ||
11 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.9' ], d)}" | 11 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-4.9:" |
12 | 12 | ||
13 | DEPENDS =+ "mpfr gmp libmpc zlib" | 13 | DEPENDS =+ "mpfr gmp libmpc zlib" |
14 | NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native" | 14 | NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native" |
@@ -19,7 +19,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ | |||
19 | file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \ | 19 | file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \ |
20 | file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \ | 20 | file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \ |
21 | file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | 21 | file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ |
22 | file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8" | 22 | file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8" |
23 | 23 | ||
24 | SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ | 24 | SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ |
25 | file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \ | 25 | file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \ |