On Thu, 2015-01-29 at 00:49 +0100, Patrick Ohly wrote:
> On Wed, 2015-01-28 at 18:26 +0100, Patrick Ohly wrote:
> >
> > /data/yocto/tizen-distro/meta-tizen/meta-tizen-ivi/recipes-graphics/genivi-shell/genivi-shell_git.bb,
> > do_compile
>
> It fails to build because it does not find /usr/weston/ivi-shell.so from
> weston-ivi.
>
> The reason might be this change:
[...]
> -target_link_libraries(${PROJECT_NAME} ${LIBS})
> +target_link_libraries(${PROJECT_NAME} ${LIBS}
> ${WESTON_LIBDIR}/weston/ivi-shell.so)
>
> install (
> TARGETS ${PROJECT_NAME}
>
> Whatever determines ${WESTON_LIBDIR} must also consider
> cross-compilation where the actual file location is somewhere in a
> sysroot and not in /usr/ of the build host.
I got the right spot. The reason why it broke now is another one of
those "-extraconf.inc got out of sync with .inc" issues: there is a sed
call fixing that line above in -extraconf.inc, it just wasn't getting
executed anymore.
Patch attached.
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.
From ba8433a7ae2a068bd8b2aa7ad4c96d6bbb950703 Mon Sep 17 00:00:00 2001
From: Patrick Ohly <[email protected]>
Date: Thu, 29 Jan 2015 00:20:53 -0800
Subject: [PATCH 4/4] genivi-shell-extraconf.inc: enable ${WESTON_LIBDIR} hack
again
Due to the recent changes in genivi-shell.inc, the sed command
adding the sysroot prefix was not getting executed anymore.
We need to run this before do_configure, which will always be
executed.
Change-Id: Ib910674c41cd4c9915e9168b0a9c333ee3379e26
---
.../recipes-graphics/genivi-shell/genivi-shell-extraconf.inc | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/meta-tizen-ivi/recipes-graphics/genivi-shell/genivi-shell-extraconf.inc b/meta-tizen-ivi/recipes-graphics/genivi-shell/genivi-shell-extraconf.inc
index 2e9fa94..d546d7d 100644
--- a/meta-tizen-ivi/recipes-graphics/genivi-shell/genivi-shell-extraconf.inc
+++ b/meta-tizen-ivi/recipes-graphics/genivi-shell/genivi-shell-extraconf.inc
@@ -5,9 +5,7 @@ INSANE_SKIP_${PN}-dev = "staticdev"
B="${S}"
-do_prep_prepend() {
- cd ${S}
-
+do_configure_prepend() {
sed -i "s@\${LIBS} \${WESTON_LIBDIR}/weston/ivi-shell.so@\${LIBS} ${PKG_CONFIG_SYSROOT_DIR}\${WESTON_LIBDIR}/weston/ivi-shell.so@g" ${S}/weston-ivi-shell/CMakeLists.txt
}
--
1.8.4.5
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev