mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 03:32:12 +02:00
gcc-cross: Use NATIVEDEPS
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
require gcc-common.inc
|
||||
|
||||
DEPENDS =+ "mpfr gmp"
|
||||
NATIVEDEPS = "mpfr-native gmp-native"
|
||||
NATIVEDEPS = "mpfr-native gmp-native gettext-native"
|
||||
|
||||
SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
|
||||
file://100-uclibc-conf.patch;patch=1 \
|
||||
|
||||
@@ -2,7 +2,7 @@ require gcc-common.inc
|
||||
LICENSE = "GPLv3"
|
||||
|
||||
DEPENDS =+ "mpfr gmp"
|
||||
NATIVEDEPS = "mpfr-native gmp-native"
|
||||
NATIVEDEPS = "mpfr-native gmp-native gettext-native"
|
||||
|
||||
SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
|
||||
file://fedora/gcc43-c++-builtin-redecl.patch;patch=1;pnum=0 \
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
inherit cross
|
||||
|
||||
DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc"
|
||||
DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc ${NATIVEDEPS}"
|
||||
PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
|
||||
|
||||
do_stage () {
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
require gcc-cross.inc
|
||||
|
||||
DEPENDS += "gmp-native mpfr-native gettext-native"
|
||||
|
||||
Reference in New Issue
Block a user