[oe-commits] Stanislav Brabec : bitbake.conf: Define STAGING_BINDIR_CROSS_BASEPKG and add it to the PATH:

GIT User account git at amethyst.openembedded.net
Tue Nov 11 13:08:14 UTC 2008


Module: openembedded.git
Branch: org.openembedded.dev
Commit: e359350395120b910cd281157e678f8416d68416
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e359350395120b910cd281157e678f8416d68416

Author: Stanislav Brabec <utx at penguin.cz>
Date:   Mon Nov 10 21:20:24 2008 +0000

bitbake.conf:Define STAGING_BINDIR_CROSS_BASEPKG and add it to the PATH:
* fixes build of packages compiled with higher optimization than base system
* actually fixes references to sdl-config in mplayer while compiling for iwmmxt
* for more see http://lists.linuxtogo.org/pipermail/openembedded-devel/2008-November/006808.html

---

 conf/bitbake.conf |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index 4273152..678062a 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -245,6 +245,7 @@ STAGING_DIR = "${TMPDIR}/staging"
 STAGING_DIR_NATIVE = "${STAGING_DIR}/${BUILD_SYS}"
 STAGING_BINDIR_NATIVE = "${STAGING_DIR_NATIVE}${layout_bindir}"
 STAGING_BINDIR_CROSS  = "${STAGING_DIR_NATIVE}${layout_bindir}/${MULTIMACH_HOST_SYS}"
+STAGING_BINDIR_CROSS_BASEPKG = "${STAGING_DIR_NATIVE}${layout_bindir}/${BASEPKG_TARGET_SYS}"
 STAGING_LIBDIR_NATIVE = "${STAGING_DIR_NATIVE}${layout_libdir}"
 STAGING_INCDIR_NATIVE = "${STAGING_DIR_NATIVE}${layout_includedir}"
 STAGING_ETCDIR_NATIVE = "${STAGING_DIR_NATIVE}${layout_sysconfdir}"
@@ -337,7 +338,7 @@ EXTRA_IMAGEDEPENDS = ""
 
 CROSS_DIR = "${TMPDIR}/cross/${BASE_PACKAGE_ARCH}"
 CROSS_DATADIR = "${CROSS_DIR}/share"
-PATH_prepend = "${STAGING_BINDIR_CROSS}:${STAGING_DIR_NATIVE}${layout_sbindir}:${STAGING_BINDIR_NATIVE}:${CROSS_DIR}/bin:${STAGING_DIR_NATIVE}${layout_base_sbindir}:${STAGING_DIR_NATIVE}${layout_base_bindir}:"
+PATH_prepend = "${STAGING_BINDIR_CROSS}:${STAGING_BINDIR_CROSS_BASEPKG}:${STAGING_DIR_NATIVE}${layout_sbindir}:${STAGING_BINDIR_NATIVE}:${CROSS_DIR}/bin:${STAGING_DIR_NATIVE}${layout_base_sbindir}:${STAGING_DIR_NATIVE}${layout_base_bindir}:"
 export PATH
 
 ##################################################################





More information about the Openembedded-commits mailing list