diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-11 16:49:49 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-13 10:15:19 +0000 |
commit | 97b52bb597415e71d7009fbb3eec6913ac542b77 (patch) | |
tree | 6f2b7a9fdabc9f685a3be89e91515e76f925aef6 /meta/recipes-devtools/gcc | |
parent | 364f8bcfcbd04e722490f363ad36a15fb7066ba7 (diff) | |
download | poky-97b52bb597415e71d7009fbb3eec6913ac542b77.tar.gz |
gcc: Add missing flex-native dependency
This is needed for all stages of the cross/target/canadian compilers
and without it (and with indirect gcc dependencies disabled), the steps
fail. Add missing dependencies.
(From OE-Core rev: e7be4aedd4f1e23c596a8cae0437bc5c187787e5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-7.2.inc | 4 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-canadian.inc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-7.2.inc b/meta/recipes-devtools/gcc/gcc-7.2.inc index 1d40cba731..f3d8a5ef0a 100644 --- a/meta/recipes-devtools/gcc/gcc-7.2.inc +++ b/meta/recipes-devtools/gcc/gcc-7.2.inc | |||
@@ -10,8 +10,8 @@ BINV = "7.2.0" | |||
10 | 10 | ||
11 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-7.2:${FILE_DIRNAME}/gcc-7.2/backport:" | 11 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/gcc-7.2:${FILE_DIRNAME}/gcc-7.2/backport:" |
12 | 12 | ||
13 | DEPENDS =+ "mpfr gmp libmpc zlib" | 13 | DEPENDS =+ "mpfr gmp libmpc zlib flex-native" |
14 | NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native" | 14 | NATIVEDEPS = "mpfr-native gmp-native libmpc-native zlib-native flex-native" |
15 | 15 | ||
16 | LICENSE = "GPL-3.0-with-GCC-exception & GPLv3" | 16 | LICENSE = "GPL-3.0-with-GCC-exception & GPLv3" |
17 | 17 | ||
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc index 6d77620dfa..bdd6f7ec82 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc | |||
@@ -3,7 +3,7 @@ inherit cross-canadian | |||
3 | SUMMARY = "GNU cc and gcc C compilers (cross-canadian for ${TARGET_ARCH} target)" | 3 | SUMMARY = "GNU cc and gcc C compilers (cross-canadian for ${TARGET_ARCH} target)" |
4 | PN = "gcc-cross-canadian-${TRANSLATED_TARGET_ARCH}" | 4 | PN = "gcc-cross-canadian-${TRANSLATED_TARGET_ARCH}" |
5 | 5 | ||
6 | DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${HOST_PREFIX}gcc-crosssdk virtual/${HOST_PREFIX}binutils-crosssdk virtual/nativesdk-${HOST_PREFIX}libc-for-gcc nativesdk-gettext" | 6 | DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${HOST_PREFIX}gcc-crosssdk virtual/${HOST_PREFIX}binutils-crosssdk virtual/nativesdk-${HOST_PREFIX}libc-for-gcc nativesdk-gettext flex-native" |
7 | 7 | ||
8 | GCCMULTILIB = "--enable-multilib" | 8 | GCCMULTILIB = "--enable-multilib" |
9 | 9 | ||