diff options
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-devtools/binutils/binutils.inc | 4 | ||||
| -rw-r--r-- | meta/recipes-devtools/rpm/rpm_5.4.9.bb | 1 | ||||
| -rw-r--r-- | meta/recipes-extended/bash/bash.inc | 1 | ||||
| -rw-r--r-- | meta/recipes-gnome/gnome/metacity_2.30.3.bb | 5 | ||||
| -rw-r--r-- | meta/recipes-graphics/mutter/mutter.inc | 5 | ||||
| -rw-r--r-- | meta/recipes-graphics/xorg-lib/libx11.inc | 8 | ||||
| -rw-r--r-- | meta/recipes-kernel/systemtap/systemtap_git.bb | 4 | ||||
| -rw-r--r-- | meta/recipes-support/gmp/gmp_4.2.1.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-support/gmp/gmp_5.0.5.bb | 2 |
9 files changed, 8 insertions, 24 deletions
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc index ff64882d14..1e592962ee 100644 --- a/meta/recipes-devtools/binutils/binutils.inc +++ b/meta/recipes-devtools/binutils/binutils.inc | |||
| @@ -76,9 +76,9 @@ export RANLIB_FOR_TARGET = "${TARGET_PREFIX}ranlib" | |||
| 76 | export CC_FOR_HOST = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}" | 76 | export CC_FOR_HOST = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}" |
| 77 | export CXX_FOR_HOST = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}" | 77 | export CXX_FOR_HOST = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}" |
| 78 | 78 | ||
| 79 | # autotools.bbclass sets the _FOR_BUILD variables, but for some reason we need | ||
| 80 | # to unset LD_LIBRARY_PATH. | ||
| 79 | export CC_FOR_BUILD = "LD_LIBRARY_PATH= ${BUILD_CC}" | 81 | export CC_FOR_BUILD = "LD_LIBRARY_PATH= ${BUILD_CC}" |
| 80 | export CPP_FOR_BUILD = "${BUILD_CPP}" | ||
| 81 | export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}" | ||
| 82 | 82 | ||
| 83 | MULTIARCH := "${@bb.utils.contains("DISTRO_FEATURES", "multiarch", "yes", "no", d)}" | 83 | MULTIARCH := "${@bb.utils.contains("DISTRO_FEATURES", "multiarch", "yes", "no", d)}" |
| 84 | do_configure[vardeps] += "MULTIARCH" | 84 | do_configure[vardeps] += "MULTIARCH" |
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb index 3268160d86..072128403a 100644 --- a/meta/recipes-devtools/rpm/rpm_5.4.9.bb +++ b/meta/recipes-devtools/rpm/rpm_5.4.9.bb | |||
| @@ -350,7 +350,6 @@ do_configure() { | |||
| 350 | -e 's/pkg-config uuid/pkg-config ossp-uuid/g' -i configure | 350 | -e 's/pkg-config uuid/pkg-config ossp-uuid/g' -i configure |
| 351 | 351 | ||
| 352 | export varprefix=${localstatedir} | 352 | export varprefix=${localstatedir} |
| 353 | export CC_FOR_BUILD="${BUILD_CC}" | ||
| 354 | oe_runconf | 353 | oe_runconf |
| 355 | } | 354 | } |
| 356 | 355 | ||
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc index ae4b681000..f1de931e82 100644 --- a/meta/recipes-extended/bash/bash.inc +++ b/meta/recipes-extended/bash/bash.inc | |||
| @@ -9,7 +9,6 @@ inherit autotools gettext update-alternatives | |||
| 9 | PARALLEL_MAKE = "" | 9 | PARALLEL_MAKE = "" |
| 10 | 10 | ||
| 11 | EXTRA_OECONF = "--enable-job-control" | 11 | EXTRA_OECONF = "--enable-job-control" |
| 12 | export CC_FOR_BUILD = "${BUILD_CC}" | ||
| 13 | 12 | ||
| 14 | ALTERNATIVE_${PN} = "sh" | 13 | ALTERNATIVE_${PN} = "sh" |
| 15 | ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh" | 14 | ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh" |
diff --git a/meta/recipes-gnome/gnome/metacity_2.30.3.bb b/meta/recipes-gnome/gnome/metacity_2.30.3.bb index 3524f0e8d7..5b996d2297 100644 --- a/meta/recipes-gnome/gnome/metacity_2.30.3.bb +++ b/meta/recipes-gnome/gnome/metacity_2.30.3.bb | |||
| @@ -23,9 +23,8 @@ EXTRA_OECONF += "--disable-verbose \ | |||
| 23 | do_configure_prepend() { | 23 | do_configure_prepend() { |
| 24 | sed -i -e 's:$ZENITY:$NOZENITY:g' -e 's:-Werror::g' ${S}/configure.in | 24 | sed -i -e 's:$ZENITY:$NOZENITY:g' -e 's:-Werror::g' ${S}/configure.in |
| 25 | } | 25 | } |
| 26 | export CC_FOR_BUILD = "${BUILD_CC}" | 26 | CFLAGS_FOR_BUILD += "-I${STAGING_LIBDIR_NATIVE}/glib-2.0/include -I${STAGING_INCDIR_NATIVE}/glib-2.0 -I${STAGING_INCDIR_NATIVE}/glib-2.0/include -I${STAGING_INCDIR_NATIVE}" |
| 27 | export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS} -I${STAGING_LIBDIR_NATIVE}/glib-2.0/include -I${STAGING_INCDIR_NATIVE}/glib-2.0 -I${STAGING_INCDIR_NATIVE}/glib-2.0/include -I${STAGING_INCDIR_NATIVE}" | 27 | LDFLAGS_FOR_BUILD += "-L${STAGING_LIBDIR_NATIVE} -lglib-2.0" |
| 28 | export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS} -L${STAGING_LIBDIR_NATIVE} -lglib-2.0" | ||
| 29 | 28 | ||
| 30 | FILES_${PN} += "${datadir}/themes ${datadir}/gnome-control-center ${datadir}/gnome" | 29 | FILES_${PN} += "${datadir}/themes ${datadir}/gnome-control-center ${datadir}/gnome" |
| 31 | 30 | ||
diff --git a/meta/recipes-graphics/mutter/mutter.inc b/meta/recipes-graphics/mutter/mutter.inc index da78827ac0..942349f95b 100644 --- a/meta/recipes-graphics/mutter/mutter.inc +++ b/meta/recipes-graphics/mutter/mutter.inc | |||
| @@ -20,9 +20,8 @@ EXTRA_OECONF += "--disable-verbose \ | |||
| 20 | FILES_${PN} += "${datadir}/themes ${libdir}/mutter/plugins/*.so ${datadir}/gnome/wm-properties/" | 20 | FILES_${PN} += "${datadir}/themes ${libdir}/mutter/plugins/*.so ${datadir}/gnome/wm-properties/" |
| 21 | FILES_${PN}-dbg += "${libdir}/mutter/plugins/.debug/*" | 21 | FILES_${PN}-dbg += "${libdir}/mutter/plugins/.debug/*" |
| 22 | 22 | ||
| 23 | export CC_FOR_BUILD = "${BUILD_CC}" | 23 | CFLAGS_FOR_BUILD += "-I${STAGING_INCDIR_NATIVE}/glib-2.0 -I${STAGING_INCDIR_NATIVE}/glib-2.0/include" |
| 24 | export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS} -I${STAGING_INCDIR_NATIVE}/glib-2.0 -I${STAGING_INCDIR_NATIVE}/glib-2.0/include" | 24 | LDFLAGS_FOR_BUILD += "-L${STAGING_LIBDIR_NATIVE} -lglib-2.0" |
| 25 | export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS} -L${STAGING_LIBDIR_NATIVE} -lglib-2.0" | ||
| 26 | 25 | ||
| 27 | do_configure_prepend () { | 26 | do_configure_prepend () { |
| 28 | echo "EXTRA_DIST=" > ${S}/gnome-doc-utils.make | 27 | echo "EXTRA_DIST=" > ${S}/gnome-doc-utils.make |
diff --git a/meta/recipes-graphics/xorg-lib/libx11.inc b/meta/recipes-graphics/xorg-lib/libx11.inc index 71e74f77dc..e0fce3eba2 100644 --- a/meta/recipes-graphics/xorg-lib/libx11.inc +++ b/meta/recipes-graphics/xorg-lib/libx11.inc | |||
| @@ -30,12 +30,8 @@ EXTRA_OEMAKE += 'CWARNFLAGS=""' | |||
| 30 | PACKAGECONFIG ??= "" | 30 | PACKAGECONFIG ??= "" |
| 31 | PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms" | 31 | PACKAGECONFIG[xcms] = "--enable-xcms,--disable-xcms" |
| 32 | 32 | ||
| 33 | # src/util/makekeys needs to be compiled natively, so tell it what compiler to | 33 | # src/util/makekeys is built natively but needs -D_GNU_SOURCE defined. |
| 34 | # use. | 34 | CPPFLAGS_FOR_BUILD += "-D_GNU_SOURCE" |
| 35 | export CC_FOR_BUILD = "${BUILD_CC}" | ||
| 36 | export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS} -D_GNU_SOURCE" | ||
| 37 | export CPPFLAGS_FOR_BUILD = "${BUILD_CPPFLAGS}" | ||
| 38 | export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}" | ||
| 39 | 35 | ||
| 40 | PACKAGES =+ "${PN}-xcb" | 36 | PACKAGES =+ "${PN}-xcb" |
| 41 | 37 | ||
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb index 9e88ee979d..a490a2ea56 100644 --- a/meta/recipes-kernel/systemtap/systemtap_git.bb +++ b/meta/recipes-kernel/systemtap/systemtap_git.bb | |||
| @@ -8,10 +8,6 @@ DEPENDS_class-nativesdk = "nativesdk-elfutils nativesdk-sqlite3 nativesdk-gettex | |||
| 8 | 8 | ||
| 9 | PR = "r0" | 9 | PR = "r0" |
| 10 | 10 | ||
| 11 | export CC_FOR_BUILD = "${BUILD_CC}" | ||
| 12 | export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}" | ||
| 13 | export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}" | ||
| 14 | |||
| 15 | EXTRA_OECONF += "--with-libelf=${STAGING_DIR_TARGET} --without-rpm \ | 11 | EXTRA_OECONF += "--with-libelf=${STAGING_DIR_TARGET} --without-rpm \ |
| 16 | --without-nss --without-avahi \ | 12 | --without-nss --without-avahi \ |
| 17 | --disable-server --disable-grapher " | 13 | --disable-server --disable-grapher " |
diff --git a/meta/recipes-support/gmp/gmp_4.2.1.bb b/meta/recipes-support/gmp/gmp_4.2.1.bb index 1f86a65e2a..49ee59b7dc 100644 --- a/meta/recipes-support/gmp/gmp_4.2.1.bb +++ b/meta/recipes-support/gmp/gmp_4.2.1.bb | |||
| @@ -16,6 +16,4 @@ SRC_URI = "${GNU_MIRROR}/gmp/${BP}.tar.bz2 \ | |||
| 16 | SRC_URI[md5sum] = "091c56e0e1cca6b09b17b69d47ef18e3" | 16 | SRC_URI[md5sum] = "091c56e0e1cca6b09b17b69d47ef18e3" |
| 17 | SRC_URI[sha256sum] = "d07ffcb37eecec35c5ec72516d10b35fdf6e6fef1fcf1dcd37e30b8cbf8bf941" | 17 | SRC_URI[sha256sum] = "d07ffcb37eecec35c5ec72516d10b35fdf6e6fef1fcf1dcd37e30b8cbf8bf941" |
| 18 | 18 | ||
| 19 | export CC_FOR_BUILD = "${BUILD_CC}" | ||
| 20 | |||
| 21 | inherit autotools | 19 | inherit autotools |
diff --git a/meta/recipes-support/gmp/gmp_5.0.5.bb b/meta/recipes-support/gmp/gmp_5.0.5.bb index 20588684be..d91340ce92 100644 --- a/meta/recipes-support/gmp/gmp_5.0.5.bb +++ b/meta/recipes-support/gmp/gmp_5.0.5.bb | |||
| @@ -8,7 +8,5 @@ SRC_URI_append = " file://use-includedir.patch \ | |||
| 8 | file://gmp_fix_for_automake-1.12.patch \ | 8 | file://gmp_fix_for_automake-1.12.patch \ |
| 9 | " | 9 | " |
| 10 | 10 | ||
| 11 | export CC_FOR_BUILD = "${BUILD_CC}" | ||
| 12 | |||
| 13 | SRC_URI[md5sum] = "041487d25e9c230b0c42b106361055fe" | 11 | SRC_URI[md5sum] = "041487d25e9c230b0c42b106361055fe" |
| 14 | SRC_URI[sha256sum] = "1f588aaccc41bb9aed946f9fe38521c26d8b290d003c5df807f65690f2aadec9" | 12 | SRC_URI[sha256sum] = "1f588aaccc41bb9aed946f9fe38521c26d8b290d003c5df807f65690f2aadec9" |
