From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 21 May 2021 12:41:36 +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 1lk2b2-0002bv-6G for lore@lore.pengutronix.de; Fri, 21 May 2021 12:41:36 +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 1lk2b1-000783-Oe; Fri, 21 May 2021 12:41:35 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lk2aQ-00077l-EU for ptxdist@pengutronix.de; Fri, 21 May 2021 12:40:58 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lk2aP-0002Lo-Ue for ptxdist@pengutronix.de; Fri, 21 May 2021 12:40:57 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1lk2aP-00D4eI-Rc for ptxdist@pengutronix.de; Fri, 21 May 2021 12:40:57 +0200 Date: Fri, 21 May 2021 12:40:57 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Message-ID: <20210521104057.GC3634306@pengutronix.de> Mail-Followup-To: ptxdist@pengutronix.de References: <20210518133401.22478-1-christian.melki@t2data.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210518133401.22478-1-christian.melki@t2data.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [ptxdist] [PATCH] Add missing install CROSS_LIB_DIR for CMAKE environments. 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 On Tue, May 18, 2021 at 03:34:01PM +0200, Christian Melki wrote: > Was installing libraries into wrong directories. > > Signed-off-by: Christian Melki > --- > rules/pre/Rules.make | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make > index 99e459ce2..93645a42a 100644 > --- a/rules/pre/Rules.make > +++ b/rules/pre/Rules.make > @@ -233,6 +233,7 @@ CROSS_AUTOCONF_ROOT := $(CROSS_AUTOCONF_SYSROOT_ROOT) $(CROSS_AUTOCONF_ARCH) > > CROSS_CMAKE_USR := \ > -DCMAKE_INSTALL_PREFIX=/usr \ > + -DCMAKE_INSTALL_LIBDIR=$(CROSS_LIB_DIR) \ Hmmm, I need -DCMAKE_INSTALL_LIBDIR=/usr/$(CROSS_LIB_DIR) here. Otherwise the dir is taken as relative to the package build dir, at least for libjpeg. Michael > -DCMAKE_INSTALL_SYSCONFDIR=/etc \ > -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \ > -DCMAKE_TOOLCHAIN_FILE='${PTXDIST_CMAKE_TOOLCHAIN_TARGET}' > -- > 2.31.1 > > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de