From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1TRpqT-0003sr-3e for ptxdist@pengutronix.de; Fri, 26 Oct 2012 21:45:29 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1TRpqT-0005u6-3Q for ptxdist@pengutronix.de; Fri, 26 Oct 2012 21:45:29 +0200 Date: Fri, 26 Oct 2012 21:45:29 +0200 From: Michael Olbrich Message-ID: <20121026194529.GA22246@pengutronix.de> References: <50890AC8.9020905@rsi-elektrotechnik.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <50890AC8.9020905@rsi-elektrotechnik.de> Subject: Re: [ptxdist] [RFC] [PATCH] make cmake use the projects sysroot Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Thu, Oct 25, 2012 at 11:47:52AM +0200, Josef Holzmayr wrote: > >From f3c3bde34f1901210d428801b108cb18d6e7a281 Mon Sep 17 00:00:00 2001 > From: Josef Holzmayr > Date: Mon, 30 Jan 2012 12:45:25 +0100 > Subject: [PATCH] fix cmake toolchain > > --- > scripts/lib/ptxd_make_cmake_toolchain.sh | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/scripts/lib/ptxd_make_cmake_toolchain.sh b/scripts/lib/ptxd_make_cmake_toolchain.sh > index 1712934..cd3a993 100644 > --- a/scripts/lib/ptxd_make_cmake_toolchain.sh > +++ b/scripts/lib/ptxd_make_cmake_toolchain.sh > @@ -30,7 +30,7 @@ ptxd_make_cmake_toolchain_target() { > CC="$(which "${CC}")" \ > CXX="$(which "${CXX}")" \ > \ > - SYSROOT="${PTXDIST_PATH_SYSROOT_ALL//:/ }" \ > + SYSROOT="${PTXDIST_SYSROOT_TOOLCHAIN//:/ }" \ No, this is wrong. PTXDIST_PATH_SYSROOT_ALL is supposed to include PTXDIST_SYSROOT_TOOLCHAIN anyways. However this not the case any more. I've committed a patch to fix that. Hopefully I didn't break anything else. Michael > INCLUDE_DIRECTORIES="${sysroot_prefix//://include }" \ > LINK_DIRECTORIES="${sysroot_prefix//://lib }" \ > \ > -- > 1.7.8.3 > > -- > ptxdist mailing list > ptxdist@pengutronix.de -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de