From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 07 Oct 2021 12:19:13 +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 1mYQUb-0006Q9-Sj for lore@lore.pengutronix.de; Thu, 07 Oct 2021 12:19:13 +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 1mYQUb-00051k-AU; Thu, 07 Oct 2021 12:19:13 +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 1mYQTj-0004gf-SK; Thu, 07 Oct 2021 12:18:19 +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 1mYQTj-0005xP-A5; Thu, 07 Oct 2021 12:18:19 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1mYQTj-00GSYW-9T; Thu, 07 Oct 2021 12:18:19 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Thu, 7 Oct 2021 12:18:19 +0200 Message-Id: <20211007101819.3922856-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210809083621.3676-1-christian.melki@t2data.com> References: <20210809083621.3676-1-christian.melki@t2data.com> MIME-Version: 1.0 Subject: Re: [ptxdist] [APPLIED] 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: Christian Melki 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 Thanks, applied as 3fa9174fa8ce494337253620f87ed2c9de631cec. Michael [sent from post-receive hook] On Thu, 07 Oct 2021 12:18:19 +0200, Christian Melki wrote: > 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 > Reviewed-by: Denis Osterland-Heim > Tested-by: Alexander Dahl > Message-Id: <20210809083621.3676-1-christian.melki@t2data.com> > Signed-off-by: Michael Olbrich > > diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make > index 54a677c474d2..0943a51b7a1d 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}' _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de