From 9c574f0620df81c8e59f767e60fed46fab478d5e Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 2 Sep 2016 19:00:02 +0300 Subject: libgsystem_git.bb: Bug fixes Fixes for LibGSystem recipe: * Export staging directories, host and build system, * Deploy installed files in /usr/lib and /usr/share. Bug-AGL: SPEC-194 Change-Id: I9e564088d545525c791426f6a80a870f5b6b45b5 Signed-off-by: Leon Anavi --- meta-sota/recipes-sota/libgsystem/libgsystem_git.bb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/meta-sota/recipes-sota/libgsystem/libgsystem_git.bb b/meta-sota/recipes-sota/libgsystem/libgsystem_git.bb index f35819d..fe1e552 100644 --- a/meta-sota/recipes-sota/libgsystem/libgsystem_git.bb +++ b/meta-sota/recipes-sota/libgsystem/libgsystem_git.bb @@ -15,7 +15,23 @@ inherit autotools-brokensep BBCLASSEXTEND += "native" +export STAGING_INCDIR +export STAGING_LIBDIR + do_configure() { NOCONFIGURE=true ./autogen.sh oe_runconf } + +do_compile_prepend() { + export BUILD_SYS="${BUILD_SYS}" + export HOST_SYS="${HOST_SYS}" +} + +FILES_${PN} += " \ + ${datadir} \ + ${datadir}/gir-1.0 \ + ${datadir}/gir-1.0/GSystem-1.0.gir \ + ${libdir}/girepository-1.0/ \ + ${libdir}/girepository-1.0/GSystem-1.0.typelib \ +" -- cgit 1.2.3-korg