mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl <ada@thorsis.com>
To: ptxdist@pengutronix.de
Cc: Denis Osterland-Heim <denis.osterland@diehl.com>,
	Christian Melki <christian.melki@t2data.com>
Subject: Re: [ptxdist] [PATCH] pre/Rules.make: Let CMAKE_INSTALL_LIBDIR be relative, as per spec.
Date: Wed, 25 Aug 2021 16:58:11 +0200	[thread overview]
Message-ID: <3717412.Wtc4lsDlHL@ada> (raw)
In-Reply-To: <2a85aaf09a2401ce5e7e132be09966f91d596fce.camel@diehl.com>

Hei hei,

Am Dienstag, 10. August 2021, 07:45:34 CEST schrieb Denis Osterland-Heim:
> Am Montag, den 09.08.2021, 10:36 +0200 schrieb Christian Melki:
> 
> > This means that packages that assume that this variable is absolute
> > will have to be modified.
> > Adding something like -DCMAKE_INSTALL_LIBDIR=/usr/$(CROSS_LIB_DIR),
> > after CROSS_CMAKE_USR to your CONF_OPT will probably suffice.
> >
> >
> >
> > Signed-off-by: Christian Melki <christian.melki@t2data.com>
> 
> Reviewed-by: Denis Osterland-Heim <denis.osterland@diehl.com>

Tested-by: Alexander Dahl <ada@thorsis.com>

In fact 62f3fc6e4bf9 ("Add missing install CROSS_LIB_DIR for CMAKE 
environments.") released with ptxdist-2021.06 broke our CMake based package 
prepare stages.  Applications were not able to find libraries anymore. Adding 
this patch, build succeeds again.  

Thanks Christian for giving me the hint in IRC.

Greets
Alex

> 
> > ---
> > 
> >  rules/pre/Rules.make | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> >
> >
> > diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make
> > index 54a677c47..0943a51b7 100644
> > --- a/rules/pre/Rules.make
> > +++ b/rules/pre/Rules.make
> > @@ -233,7 +233,7 @@ CROSS_AUTOCONF_ROOT := $(CROSS_AUTOCONF_SYSROOT_ROOT)
> > $(CROSS_AUTOCONF_ARCH)
>
> >
> >
> >  CROSS_CMAKE_USR := \
> >  -DCMAKE_INSTALL_PREFIX=/usr \
> > 
> > --DCMAKE_INSTALL_LIBDIR=/usr/$(CROSS_LIB_DIR) \
> > +-DCMAKE_INSTALL_LIBDIR=$(CROSS_LIB_DIR) \
> > 
> >  -DCMAKE_INSTALL_SYSCONFDIR=/etc \
> >  -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
> >  -DCMAKE_TOOLCHAIN_FILE='${PTXDIST_CMAKE_TOOLCHAIN_TARGET}'
> 
> Diehl Connectivity Solutions GmbH
> Geschäftsführung: Horst Leonberger
> Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht
> Nürnberg: HRB 32315
> 
> ________________________________
> 
> Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail
> enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
> Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise
> erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht. Jede
> unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung
> und/oder Publikation dieser E-Mail ist strengstens untersagt. 
> - Informationen zum Datenschutz, insbesondere zu Ihren Rechten, erhalten Sie
> unter:
 
> https://www.diehl.com/group/de/transparenz-und-informationspflichten/
> 
> The contents of the above mentioned e-mail is not legally binding. This
> e-mail contains confidential and/or legally protected information. Please
> inform us if you have received this e-mail by
 mistake and delete it in
> such a case. Each unauthorized reproduction, disclosure, alteration,
> distribution and/or publication of this e-mail is strictly prohibited. 
> - For general information on data protection and your respective rights
> please visit:
 
> https://www.diehl.com/group/en/transparency-and-information-obligations/
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to
> ptxdist-request@pengutronix.de





_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


  reply	other threads:[~2021-08-25 14:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-09  8:36 Christian Melki
2021-08-10  5:45 ` Denis Osterland-Heim
2021-08-25 14:58   ` Alexander Dahl [this message]
2021-10-07 10:18 ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3717412.Wtc4lsDlHL@ada \
    --to=ada@thorsis.com \
    --cc=christian.melki@t2data.com \
    --cc=denis.osterland@diehl.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox