Patchwork [1/7] bitbake.conf: add nonarch_base_lib variable

login
register
mail settings
Submitter Constantin Musca
Date Dec. 17, 2012, 9:16 a.m.
Message ID <a8da5e399939e72526f228aaa8a61e0454ad4a9a.1355732782.git.constantinx.musca@intel.com>
Download mbox | patch
Permalink /patch/41165/
State Accepted
Commit 0730a8cbb42cd8b6667f2d1daefa0f6fcec06af2
Headers show

Comments

Constantin Musca - Dec. 17, 2012, 9:16 a.m.
Adapt stagging.bbclass to this change

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
---
 meta/classes/staging.bbclass | 4 ++++
 meta/conf/bitbake.conf       | 1 +
 2 files changed, 5 insertions(+)

Patch

diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index 82624cb..1a078b4 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -50,6 +50,10 @@  sysroot_stage_dirs() {
 	then
 		sysroot_stage_libdir $from${base_libdir} $to${base_libdir}
 	fi
+	if [ -d $from${nonarch_base_libdir} ]
+	then
+		sysroot_stage_libdir $from${nonarch_base_libdir} $to${nonarch_base_libdir}
+	fi
 	sysroot_stage_dir $from${datadir} $to${datadir}
 	# We don't care about docs/info/manpages/locales
 	rm -rf $to${mandir}/ $to${docdir}/ $to${infodir}/ ${to}${datadir}/locale/
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index be3bfc2..a2d3abe 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -21,6 +21,7 @@  export exec_prefix = "/usr"
 export base_bindir = "${base_prefix}/bin"
 export base_sbindir = "${base_prefix}/sbin"
 export base_libdir = "${base_prefix}/${baselib}"
+export nonarch_base_libdir = "${base_prefix}/lib"
 
 # Architecture independent paths
 export datadir = "${prefix}/share"