Skip to contentSkip to conversation

01-use-proper-tools-for-cross-build.patch in meta-virtualization

DISCUSSION David Nyström 1 participant 1 message Dec 17, 2012

lore
Share & tools
lore
#0 lore raw

c0274e47: 01-use-proper-tools-for-cross-build.patch --
Upstream-Status: Inappropriate [embedded specific]

# We need to ensure our host tools get run during build, not the freshly

# built cross-tools (this will not work), so we introduce HOSTPYTHON and HOSTPGEN.
# Signed-Off: Michael 'Mickey' Lauer <[email protected]>
--

Whats the reason to keep a separate version of this patch in meta-virtualization ? Since meta-virt has higher prio, I suspect the version we have in meta-virt is being used instead on the one in poky/master.

diff python/01-use-proper-tools-for-cross-build.patch /media/sdb5/eel/poky/meta/recipes-devtools/python/python/01-use-proper-tools-for-cross-build.patch

122,124c122,124

< +        lib_dirs = [ os.getenv( "STAGING_LIBDIR" ) ]
< +        inc_dirs = [ os.getenv( "STAGING_INCDIR" ) ]
< +        lib_dirs += os.getenv('LIBRARY_PATH', '').split(os.pathsep)

---

Review

Quoted 3 lines
(quoted diff) +3 -0
+        lib_dirs = [ os.getenv("STAGING_LIBDIR"), os.getenv("STAGING_BASELIBDIR") ]
+        inc_dirs = [ os.getenv("STAGING_INCDIR") ]
+

Br,
David