From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [RFC] [PATCH] make cmake use the projects sysroot
Date: Fri, 26 Oct 2012 21:45:29 +0200 [thread overview]
Message-ID: <20121026194529.GA22246@pengutronix.de> (raw)
In-Reply-To: <50890AC8.9020905@rsi-elektrotechnik.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 <holzmayr@rsi-elektrotechnik.de>
> 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
prev parent reply other threads:[~2012-10-26 19:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-25 9:47 Josef Holzmayr
2012-10-26 19:45 ` Michael Olbrich [this message]
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=20121026194529.GA22246@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--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