summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/staging.bbclass4
-rw-r--r--meta/conf/bitbake.conf1
2 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index 82624cba9c..1a078b415b 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -50,6 +50,10 @@ sysroot_stage_dirs() {
50 then 50 then
51 sysroot_stage_libdir $from${base_libdir} $to${base_libdir} 51 sysroot_stage_libdir $from${base_libdir} $to${base_libdir}
52 fi 52 fi
53 if [ -d $from${nonarch_base_libdir} ]
54 then
55 sysroot_stage_libdir $from${nonarch_base_libdir} $to${nonarch_base_libdir}
56 fi
53 sysroot_stage_dir $from${datadir} $to${datadir} 57 sysroot_stage_dir $from${datadir} $to${datadir}
54 # We don't care about docs/info/manpages/locales 58 # We don't care about docs/info/manpages/locales
55 rm -rf $to${mandir}/ $to${docdir}/ $to${infodir}/ ${to}${datadir}/locale/ 59 rm -rf $to${mandir}/ $to${docdir}/ $to${infodir}/ ${to}${datadir}/locale/
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 578c29f46c..2e3856a2d1 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -21,6 +21,7 @@ export exec_prefix = "/usr"
21export base_bindir = "${base_prefix}/bin" 21export base_bindir = "${base_prefix}/bin"
22export base_sbindir = "${base_prefix}/sbin" 22export base_sbindir = "${base_prefix}/sbin"
23export base_libdir = "${base_prefix}/${baselib}" 23export base_libdir = "${base_prefix}/${baselib}"
24export nonarch_base_libdir = "${base_prefix}/lib"
24 25
25# Architecture independent paths 26# Architecture independent paths
26export datadir = "${prefix}/share" 27export datadir = "${prefix}/share"