From: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
To: bartvdrmeulen@gmail.com
Cc: crossgcc@sourceware.org
Subject: Re: [patch 2/4] Only create sym-link from sysroot/lib directory when using syslink
Date: Fri, 19 Jun 2009 16:15:00 -0000 [thread overview]
Message-ID: <200906191814.50232.yann.morin.1998@anciens.enib.fr> (raw)
In-Reply-To: <20090610113222.553100012@gmail.com>
On Wednesday 10 June 2009 12:12:32 Bart vd. Meulen wrote:
> The symbol link that is created in the sysroot directory only needs
> to be made when the cross compiler is build with the sysroot option
>
> Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
> ---
> scripts/crosstool-NG.sh.in | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> Index: crosstool-ng/scripts/crosstool-NG.sh.in
> ===================================================================
> --- crosstool-ng.orig/scripts/crosstool-NG.sh.in 2009-06-08 15:29:33.000000000 +0200
> +++ crosstool-ng/scripts/crosstool-NG.sh.in 2009-06-08 15:30:15.000000000 +0200
> @@ -280,8 +280,10 @@ if [ -z "${CT_RESTART}" ]; then
> CT_DoExecLog ALL mkdir -p "${CT_SYSROOT_DIR}/lib"
> CT_DoExecLog ALL mkdir -p "${CT_SYSROOT_DIR}/usr/lib"
>
> - # Prevent gcc from installing its libraries outside of the sys-root
> - CT_DoExecLog ALL ln -sf "./${CT_SYSROOT_DIR_PREFIX}/sys-root/lib" "${CT_PREFIX_DIR}/${CT_TARGET}/lib"
> + if [ "${CT_USE_SYSROOT}" = "y" ]; then
> + # Prevent gcc from installing its libraries outside of the sys-root
> + CT_DoExecLog ALL ln -sf "./${CT_SYSROOT_DIR_PREFIX}/sys-root/lib" "${CT_PREFIX_DIR}/${CT_TARGET}/lib"
> + fi
Applied as-is, thanks!
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software Designer | \ / CAMPAIGN | ___ |
| --==< ^_^ >==-- `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
`------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
next prev parent reply other threads:[~2009-06-19 16:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20090610101230.342741672@gmail.com>
2009-06-10 11:53 ` [patch 0/4] Add initial support for windows hosted canadian cross-compiler to CT-NG Yann E. MORIN
[not found] ` <20090610113222.461816414@gmail.com>
2009-06-19 16:14 ` [patch 1/4] No need to create debugroot dir when not configured Yann E. MORIN
[not found] ` <20090610113222.553100012@gmail.com>
2009-06-19 16:15 ` Yann E. MORIN [this message]
[not found] ` <20090610113222.717687247@gmail.com>
2009-06-19 16:17 ` [patch 3/4] collects the tools needed to build a crosscompiler in a seperate folder Yann E. MORIN
[not found] ` <20090610113222.856924123@gmail.com>
2009-06-19 16:27 ` [patch 4/4] Implement canadian build option Yann E. MORIN
2009-06-22 18:08 ` Bart van der Meulen
2009-06-24 13:06 ` Bart van der Meulen
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=200906191814.50232.yann.morin.1998@anciens.enib.fr \
--to=yann.morin.1998@anciens.enib.fr \
--cc=bartvdrmeulen@gmail.com \
--cc=crossgcc@sourceware.org \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).