qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: josch <josch@pyneo.org>
To: Riku Voipio <riku.voipio@iki.fi>, qemu-devel@nongnu.org
Cc: Johannes Schauer <j.schauer@email.de>
Subject: [Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable
Date: Sat, 23 Jul 2011 07:47:50 +0200	[thread overview]
Message-ID: <1311400070-9051-2-git-send-email-josch@pyneo.org> (raw)
In-Reply-To: <1311400070-9051-1-git-send-email-josch@pyneo.org>

From: Johannes Schauer <j.schauer@email.de>


Signed-off-by: Johannes Schauer <j.schauer@email.de>
---
 linux-user/main.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/linux-user/main.c b/linux-user/main.c
index 289054b..b590aa7 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -2891,6 +2891,11 @@ int main(int argc, char **argv, char **envp)
     cpudef_setup(); /* parse cpu definitions in target config file (TBD) */
 #endif
 
+    /* read interp_prefix from environment variable */
+    if (getenv("QEMU_LD_PREFIX") != NULL) {
+        interp_prefix = getenv("QEMU_LD_PREFIX");
+    }
+
     optind = 1;
     for(;;) {
         if (optind >= argc)
-- 
1.7.5.4

  reply	other threads:[~2011-07-23  5:48 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-23  5:47 [Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable josch
2011-07-23  5:47 ` josch [this message]
2011-07-28  8:41 ` Riku Voipio
2011-07-28 11:24   ` Johannes Schauer
2011-07-28 16:50     ` Geert Stappers
2011-07-28 17:28       ` Alexander Graf
2011-07-29 12:52   ` [Qemu-devel] Bug#632192: " Vagrant Cascadian
2011-07-29 15:21     ` Johannes Schauer
2011-07-30 13:58       ` Riku Voipio
2011-07-31 11:51         ` [Qemu-devel] [PATCH] introduce environment variables for all qemu-user options j.schauer
2011-07-31 12:12           ` Peter Maydell
2011-07-31 21:40             ` Johannes Schauer
2011-08-05 10:04               ` Peter Maydell
2011-08-06  6:54                 ` Johannes Schauer
2011-08-20 17:29                   ` Yann Dirson
  -- strict thread matches above, loose matches on Subject: below --
2011-07-06  9:15 [Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable Johannes Schauer
2011-07-06  9:15 ` Johannes Schauer

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=1311400070-9051-2-git-send-email-josch@pyneo.org \
    --to=josch@pyneo.org \
    --cc=j.schauer@email.de \
    --cc=qemu-devel@nongnu.org \
    --cc=riku.voipio@iki.fi \
    /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 NNTP newsgroup(s).