diff options
Diffstat (limited to 'recipes/binutils')
18 files changed, 35 insertions, 31 deletions
diff --git a/recipes/binutils/binutils-canadian-sdk_2.18.bb b/recipes/binutils/binutils-canadian-sdk_2.18.bb index cf27cd06f8..e44e7b7144 100644 --- a/recipes/binutils/binutils-canadian-sdk_2.18.bb +++ b/recipes/binutils/binutils-canadian-sdk_2.18.bb @@ -9,9 +9,12 @@ DEPENDS="\ " FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}" -EXTRA_OECONF = "--with-sysroot=${prefix}/${TARGET_SYS} \ +# On MinGW hosts we want to prepend a drive letter, in ${SDK_REALPATH_MINGW} +# to the sysroot path. +SYSROOT = "${@['${SDK_REALPATH}/${TARGET_SYS}', '${SDK_REALPATH_MINGW}${SDK_REALPATH}/${TARGET_SYS}'][bb.data.getVar('SDK_OS', d, 1) in ['mingw32', 'mingw64']]}" +EXTRA_OECONF = "--with-sysroot=${SYSROOT} \ --program-prefix=${TARGET_PREFIX}" -PR = "r3" +PR = "r4" FILES_${PN}-dbg += "${prefix}/${TARGET_SYS}/bin/.debug" diff --git a/recipes/binutils/binutils-cross-sdk.inc b/recipes/binutils/binutils-cross-sdk.inc index 5da1d4fa8f..6e9cda09b8 100644 --- a/recipes/binutils/binutils-cross-sdk.inc +++ b/recipes/binutils/binutils-cross-sdk.inc @@ -17,7 +17,7 @@ do_install () { rm ${D}${prefix}/${TARGET_SYS}/bin/.debug -Rf rm ${D}${prefix}/${TARGET_SYS}/bin/* for l in ${D}${bindir}/*; do - ln -sf "${bindir}/`basename $l`" "${D}${prefix}/${TARGET_SYS}/bin/`basename $l | sed -e 's,${TARGET_PREFIX},,'`" + ln -sf "../../${layout_base_bindir}/`basename $l`" "${D}${prefix}/${TARGET_SYS}/bin/`basename $l | sed -e 's,${TARGET_PREFIX},,'`" done # Install the libiberty header diff --git a/recipes/binutils/binutils-cross-sdk_2.14.90.0.6.bb b/recipes/binutils/binutils-cross-sdk_2.14.90.0.6.bb index f50956680d..f84a61d1f5 100644 --- a/recipes/binutils/binutils-cross-sdk_2.14.90.0.6.bb +++ b/recipes/binutils/binutils-cross-sdk_2.14.90.0.6.bb @@ -1,2 +1,3 @@ require binutils_${PV}.bb require binutils-cross-sdk.inc +PR = "r1" diff --git a/recipes/binutils/binutils-cross-sdk_2.14.90.0.7.bb b/recipes/binutils/binutils-cross-sdk_2.14.90.0.7.bb index f50956680d..f84a61d1f5 100644 --- a/recipes/binutils/binutils-cross-sdk_2.14.90.0.7.bb +++ b/recipes/binutils/binutils-cross-sdk_2.14.90.0.7.bb @@ -1,2 +1,3 @@ require binutils_${PV}.bb require binutils-cross-sdk.inc +PR = "r1" diff --git a/recipes/binutils/binutils-cross-sdk_2.15.94.0.1.bb b/recipes/binutils/binutils-cross-sdk_2.15.94.0.1.bb index f84a61d1f5..40e9889691 100644 --- a/recipes/binutils/binutils-cross-sdk_2.15.94.0.1.bb +++ b/recipes/binutils/binutils-cross-sdk_2.15.94.0.1.bb @@ -1,3 +1,3 @@ require binutils_${PV}.bb require binutils-cross-sdk.inc -PR = "r1" +PR = "r2" diff --git a/recipes/binutils/binutils-cross-sdk_2.16.91.0.6.bb b/recipes/binutils/binutils-cross-sdk_2.16.91.0.6.bb index f50956680d..f84a61d1f5 100644 --- a/recipes/binutils/binutils-cross-sdk_2.16.91.0.6.bb +++ b/recipes/binutils/binutils-cross-sdk_2.16.91.0.6.bb @@ -1,2 +1,3 @@ require binutils_${PV}.bb require binutils-cross-sdk.inc +PR = "r1" diff --git a/recipes/binutils/binutils-cross-sdk_2.16.91.0.7.bb b/recipes/binutils/binutils-cross-sdk_2.16.91.0.7.bb index 574265cf57..cde4e42942 100644 --- a/recipes/binutils/binutils-cross-sdk_2.16.91.0.7.bb +++ b/recipes/binutils/binutils-cross-sdk_2.16.91.0.7.bb @@ -1,3 +1,3 @@ require binutils_${PV}.bb require binutils-cross-sdk.inc -PR = "r4" +PR = "r5" diff --git a/recipes/binutils/binutils-cross-sdk_2.17.50.0.12.bb b/recipes/binutils/binutils-cross-sdk_2.17.50.0.12.bb index 574265cf57..cde4e42942 100644 --- a/recipes/binutils/binutils-cross-sdk_2.17.50.0.12.bb +++ b/recipes/binutils/binutils-cross-sdk_2.17.50.0.12.bb @@ -1,3 +1,3 @@ require binutils_${PV}.bb require binutils-cross-sdk.inc -PR = "r4" +PR = "r5" diff --git a/recipes/binutils/binutils-cross-sdk_2.18.50.0.7.bb b/recipes/binutils/binutils-cross-sdk_2.18.50.0.7.bb index 574265cf57..cde4e42942 100644 --- a/recipes/binutils/binutils-cross-sdk_2.18.50.0.7.bb +++ b/recipes/binutils/binutils-cross-sdk_2.18.50.0.7.bb @@ -1,3 +1,3 @@ require binutils_${PV}.bb require binutils-cross-sdk.inc -PR = "r4" +PR = "r5" diff --git a/recipes/binutils/binutils-cross-sdk_2.18.bb b/recipes/binutils/binutils-cross-sdk_2.18.bb index 574265cf57..cde4e42942 100644 --- a/recipes/binutils/binutils-cross-sdk_2.18.bb +++ b/recipes/binutils/binutils-cross-sdk_2.18.bb @@ -1,3 +1,3 @@ require binutils_${PV}.bb require binutils-cross-sdk.inc -PR = "r4" +PR = "r5" diff --git a/recipes/binutils/binutils-cross-sdk_2.19.1.bb b/recipes/binutils/binutils-cross-sdk_2.19.1.bb index 76dff5449f..f84a61d1f5 100644 --- a/recipes/binutils/binutils-cross-sdk_2.19.1.bb +++ b/recipes/binutils/binutils-cross-sdk_2.19.1.bb @@ -1,3 +1,3 @@ require binutils_${PV}.bb require binutils-cross-sdk.inc -PR = "r0" +PR = "r1" diff --git a/recipes/binutils/binutils-cross-sdk_2.19.bb b/recipes/binutils/binutils-cross-sdk_2.19.bb index 76dff5449f..f84a61d1f5 100644 --- a/recipes/binutils/binutils-cross-sdk_2.19.bb +++ b/recipes/binutils/binutils-cross-sdk_2.19.bb @@ -1,3 +1,3 @@ require binutils_${PV}.bb require binutils-cross-sdk.inc -PR = "r0" +PR = "r1" diff --git a/recipes/binutils/binutils-cross-sdk_cvs.bb b/recipes/binutils/binutils-cross-sdk_cvs.bb index 6886255c7f..94d2704a6f 100644 --- a/recipes/binutils/binutils-cross-sdk_cvs.bb +++ b/recipes/binutils/binutils-cross-sdk_cvs.bb @@ -1,4 +1,4 @@ require binutils_cvs.bb require binutils-cross-sdk.inc -PR = "r4" -FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-cvs" +PR = "r5" +FILESPATHPKG .= ":binutils-cvs" diff --git a/recipes/binutils/mingw-binutils-canadian-cross_2.17.50-20060824-1.bb b/recipes/binutils/mingw-binutils-canadian-cross_2.17.50-20060824-1.bb index 385aa1dd2f..7f80a772f1 100644 --- a/recipes/binutils/mingw-binutils-canadian-cross_2.17.50-20060824-1.bb +++ b/recipes/binutils/mingw-binutils-canadian-cross_2.17.50-20060824-1.bb @@ -1,11 +1,4 @@ require mingw-binutils_${PV}.bb require binutils-canadian-cross.inc -DEFAULT_PREFERENCE_sdk-mingw32 = "1" -DEFAULT_PREFERENCE_sdk-mingw64 = "1" - -require binutils-canadian-cross.inc - -SRC_URI = "${SOURCEFORGE_MIRROR}/mingw/binutils-${PV}-src.tar.gz" - -S = "${WORKDIR}/binutils-${PV}-src" +DEFAULT_PREFERENCE_mingw32 = "1" diff --git a/recipes/binutils/mingw-binutils-canadian-cross_2.19.1.bb b/recipes/binutils/mingw-binutils-canadian-cross_2.19.1.bb new file mode 100644 index 0000000000..7f80a772f1 --- /dev/null +++ b/recipes/binutils/mingw-binutils-canadian-cross_2.19.1.bb @@ -0,0 +1,4 @@ +require mingw-binutils_${PV}.bb +require binutils-canadian-cross.inc + +DEFAULT_PREFERENCE_mingw32 = "1" diff --git a/recipes/binutils/mingw-binutils.inc b/recipes/binutils/mingw-binutils.inc new file mode 100644 index 0000000000..1e3898a336 --- /dev/null +++ b/recipes/binutils/mingw-binutils.inc @@ -0,0 +1,10 @@ +DESCRIPTION = "A GNU collection of binary utilities - MinGW port" +HOMEPAGE = "http://www.mingw.org/" + +require binutils.inc + +SRC_URI = "${SOURCEFORGE_MIRROR}/mingw/binutils-${PV}-src.tar.gz" + +S = "${WORKDIR}/binutils-${PV}" + +DEFAULT_PREFERENCE = "-1" diff --git a/recipes/binutils/mingw-binutils_2.17.50-20060824-1.bb b/recipes/binutils/mingw-binutils_2.17.50-20060824-1.bb index 9d17873270..7021cfee5a 100644 --- a/recipes/binutils/mingw-binutils_2.17.50-20060824-1.bb +++ b/recipes/binutils/mingw-binutils_2.17.50-20060824-1.bb @@ -1,12 +1,2 @@ -PR = "r1" - -require binutils.inc - -DESCRIPTION = "A GNU collection of binary utilities - MinGW port" -HOMEPAGE = "http://www.mingw.org/" - -SRC_URI = "${SOURCEFORGE_MIRROR}/mingw/binutils-${PV}-src.tar.gz" - +require mingw-binutils.inc S = "${WORKDIR}/binutils-${PV}-src" - -DEFAULT_PREFERENCE = "0" diff --git a/recipes/binutils/mingw-binutils_2.19.1.bb b/recipes/binutils/mingw-binutils_2.19.1.bb new file mode 100644 index 0000000000..0f719ed0f4 --- /dev/null +++ b/recipes/binutils/mingw-binutils_2.19.1.bb @@ -0,0 +1 @@ +require mingw-binutils.inc |