Skip to contentSkip to conversation

oldincludedir and includedir not pointing to staging

DISCUSSION Khem Raj 1 participant 1 message Jun 21, 2008

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

This patch fixes the configure parameters --includedir and --oldincludedir. After the sysroot change they need to be adjusted too. I have been using this change for quite sometime now havent seen any fallouts. OK for .dev ?

Thanks

- -Khem

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIXFwsHnJKy6V6em4RArWTAJ0dsKpsIKmDQIbmC7waNQgobGTkFwCfSyRh +q22IejBZ3N7VfSY0QOIpQw=
=/kuv
-----END PGP SIGNATURE-----
#

# old_revision [c06692d78b5f67ad833d158b77fdde9b4b404dcd]
#
# patch "classes/cross.bbclass"
#  from [504bbe85b9aae389cdf483045310b7f26d7a5fb4]
#    to [bdd50d7b0204dc37533449d262a744351c880e4e]
#
============================================================
--- classes/cross.bbclass	504bbe85b9aae389cdf483045310b7f26d7a5fb4
+++ classes/cross.bbclass	bdd50d7b0204dc37533449d262a744351c880e4e
@@ -49,8 +49,8 @@ libdir = "${exec_prefix}/lib"
 sbindir = "${exec_prefix}/bin"
 libexecdir = "${exec_prefix}/libexec"
 libdir = "${exec_prefix}/lib"
-includedir = "${exec_prefix}/include"
-oldincludedir = "${exec_prefix}/include"
+includedir = "${STAGING_DIR_TARGET}/${layout_includedir}"
+oldincludedir = "${STAGING_DIR_TARGET}/${layout_includedir}"

do_stage () {
oe_runmake install