From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 25 Aug 2021 16:59:00 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mIuMm-00050g-4A for lore@lore.pengutronix.de; Wed, 25 Aug 2021 16:59:00 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mIuMl-0003eA-Oj; Wed, 25 Aug 2021 16:58:59 +0200 Received: from mail.thorsis.com ([92.198.35.195]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mIuM5-0003dV-08 for ptxdist@pengutronix.de; Wed, 25 Aug 2021 16:58:21 +0200 Received: from localhost (localhost [127.0.0.1]) by mail.thorsis.com (Postfix) with ESMTP id E9810DAC for ; Wed, 25 Aug 2021 16:58:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.thorsis.com Received: from mail.thorsis.com ([127.0.0.1]) by localhost (mail.thorsis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D1CwDnLPCrTL for ; Wed, 25 Aug 2021 16:58:15 +0200 (CEST) Received: by mail.thorsis.com (Postfix, from userid 109) id C76A22A76; Wed, 25 Aug 2021 16:58:15 +0200 (CEST) From: Alexander Dahl To: ptxdist@pengutronix.de Date: Wed, 25 Aug 2021 16:58:11 +0200 Message-ID: <3717412.Wtc4lsDlHL@ada> In-Reply-To: <2a85aaf09a2401ce5e7e132be09966f91d596fce.camel@diehl.com> References: <20210809083621.3676-1-christian.melki@t2data.com> <2a85aaf09a2401ce5e7e132be09966f91d596fce.camel@diehl.com> X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.6 required=4.0 tests=AWL,BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [PATCH] pre/Rules.make: Let CMAKE_INSTALL_LIBDIR be relative, as per spec. X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Denis Osterland-Heim , Christian Melki MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false 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=3D/usr/$(CROSS_LIB_DIR), > > after CROSS_CMAKE_USR to your CONF_OPT will probably suffice. > > > > > > > > Signed-off-by: Christian Melki > = > Reviewed-by: Denis Osterland-Heim Tested-by: Alexander Dahl 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. Addi= ng = 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 :=3D $(CROSS_AUTOCONF_SYSROOT_R= OOT) > > $(CROSS_AUTOCONF_ARCH) > > > > > > > CROSS_CMAKE_USR :=3D \ > > -DCMAKE_INSTALL_PREFIX=3D/usr \ > > = > > --DCMAKE_INSTALL_LIBDIR=3D/usr/$(CROSS_LIB_DIR) \ > > +-DCMAKE_INSTALL_LIBDIR=3D$(CROSS_LIB_DIR) \ > > = > > -DCMAKE_INSTALL_SYSCONFDIR=3D/etc \ > > -DCMAKE_BUILD_TYPE:STRING=3DRelWithDebInfo \ > > -DCMAKE_TOOLCHAIN_FILE=3D'${PTXDIST_CMAKE_TOOLCHAIN_TARGET}' > = > Diehl Connectivity Solutions GmbH > Gesch=E4ftsf=FChrung: Horst Leonberger > Sitz der Gesellschaft: N=FCrnberg - Registergericht: Amtsgericht > N=FCrnberg: HRB 32315 > = > ________________________________ > = > Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-M= ail > 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@p= engutronix.de