[PATCH] cmake: use LIB_SUFFIX variable for LIBRARY DESTINATION

Frederico Cadete frederico.cadete at awtce.be
Tue Apr 5 11:41:09 EDT 2016


On Wed, Mar 30, 2016 at 07:56:42AM +0000, Friedrich, Eugen (ADITG/SW1) wrote:
> Thanks you, pushed!

Late reply, but anyway...
The reason I reply now is that today I had get wayland-ivi-extension
building on a yocto platform that puts its libs in /usr/lib64, and this
information may be useful to someone else.

At first it may not be evident how to decide which value you have
to put into LIB_SUFFIX from the bitbake recipe. The answer comes from
copying this line from the libtag recipe in poky:

EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib', True).replace('lib', '')}"

Best regards,
Frederico

> 
> Best regards
> 
> Eugen Friedrich
> Software Group I (ADITG/SW1)
> 
> Tel. +49 5121 49 6921
> From: Natsume, Wataru (ADITJ/SWG)
> Sent: Mittwoch, 30. März 2016 09:30
> To: Friedrich, Eugen (ADITG/SW1)
> Cc: genivi-ivi-layer-management at lists.genivi.org
> Subject: RE: [PATCH] cmake: use LIB_SUFFIX variable for LIBRARY DESTINATION
> 
> Hello  Eugen-san,
> 
> It looks fine with me.
> 
> Best Regards,
> Wataru Natsume
> 
> ---
> Wataru Natsume / 夏目 亘
> Advanced Driver Information Technology
> Software Group (ADITJ/SWG)
> E-mail: wnatsume at jp.adit-jv.com<mailto:wnatsume at jp.adit-jv.com>
> Tel: +81-(0)566-61-4551 / Extension 551-43644
> 
> From: genivi-ivi-layer-management-bounces at lists.genivi.org<mailto:genivi-ivi-layer-management-bounces at lists.genivi.org> [mailto:genivi-ivi-layer-management-bounces at lists.genivi.org] On Behalf Of Friedrich, Eugen (ADITG/SW1)
> Sent: Tuesday, March 29, 2016 11:57 PM
> To: genivi-ivi-layer-management at lists.genivi.org<mailto:genivi-ivi-layer-management at lists.genivi.org>
> Subject: [PATCH] cmake: use LIB_SUFFIX variable for LIBRARY DESTINATION
> 
> Hi all,
> 
> this patch will allow to install the modules and libraries in correct library directory
> e.g. if we are built for 64 bit architecture
> 
> libraries are installed in /lib$LIB_SUFFIX
> weston modules are installed in /lib$LIB_SUFFIX/weston
> 
> Signed-off-by: Eugen Friedrich <efriedrich at de.adit-jv.com<mailto:efriedrich at de.adit-jv.com>>
> ---
> ivi-input-api/ilmInput/CMakeLists.txt                 | 2 +-
> ivi-input-modules/ivi-input-controller/CMakeLists.txt | 2 +-
> ivi-layermanagement-api/ilmClient/CMakeLists.txt      | 2 +-
> ivi-layermanagement-api/ilmCommon/CMakeLists.txt      | 2 +-
> ivi-layermanagement-api/ilmControl/CMakeLists.txt     | 2 +-
> weston-ivi-shell/CMakeLists.txt                       | 2 +-
> 6 files changed, 6 insertions(+), 6 deletions(-)Best regards
> 
> Eugen Friedrich
> Advanced Driver Information Technology GmbH
> Software Group I (ADITG/SW1)
> Robert-Bosch-Str. 200
> 31139 Hildesheim
> Germany
> Tel. +49 5121 49 6921
> Fax +49 5121 49 6999
> efriedrich at de.adit-jv.com<mailto:efriedrich at de.adit-jv.com>
> ADIT is a joint venture company of Robert Bosch GmbH/Robert Bosch Car Multimedia GmbH and DENSO Corporation
> Sitz: Hildesheim, Registergericht: Amtsgericht Hildesheim HRB 3438
> Geschäftsführung: Wilhelm Grabow, Ken Yaguchi

> _______________________________________________
> genivi-ivi-layer-management mailing list
> genivi-ivi-layer-management at lists.genivi.org
> https://lists.genivi.org/mailman/listinfo/genivi-ivi-layer-management




More information about the genivi-ivi-layer-management mailing list