From: Michael Tokarev <mjt@tls.msk.ru>
To: Ed Maste <emaste@freebsd.org>
Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH] configure: Use ${config_host_ld} variable
Date: Thu, 06 Jun 2013 00:03:16 +0400 [thread overview]
Message-ID: <51AF9984.8030103@msgid.tls.msk.ru> (raw)
In-Reply-To: <1370444532-68682-1-git-send-email-emaste@freebsd.org>
05.06.2013 19:02, Ed Maste wrote:
> - linker_script="-Wl,-T../config-host.ld -Wl,-T,\$(SRC_PATH)/ldscripts/\$(ARCH).ld"
> + linker_script="-Wl,-T../${config_host_ld} -Wl,-T,\$(SRC_PATH)/ldscripts/\$(ARCH).ld"
Do we really care? To me it looks like it is better
to just remove the variable (which is nothing but just
an extra indirection) and be done with it.
The variable has been introduced by this commit:
commit 4bf6b55b346d33ff16dd25f75bbea8e21f95dfa6
Author: Juan Quintela <quintela@redhat.com>
Date: Wed Jul 22 22:37:40 2009 +0200
set SEARCH_PATH for the linker script from output of ld --verbose -v
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
which description does not cover introduction of
this variable, and apparently it meant to be something
different really. The thing is: that commit introduced
that envvar, but at the same time, added several
references to open-coded name (config-host.ld) into
several places (including the one which is being
patched now).
I really don't see a point to have it in a variable at all.
Ditto for $config_host_mak for that matter.
Both are used in makefiles as well, and used there
directly.
Maybe just get rid of that cruft? If there will be
a need for actual variable, it will be trivial to
introduce it and patch in this single place where
it is referenced... :)
Thanks,
/mjt
next prev parent reply other threads:[~2013-06-05 20:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-05 15:02 [Qemu-devel] [PATCH] configure: Use ${config_host_ld} variable Ed Maste
2013-06-05 20:03 ` Michael Tokarev [this message]
2013-06-05 20:11 ` [Qemu-devel] [Qemu-trivial] " Ed Maste
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=51AF9984.8030103@msgid.tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=emaste@freebsd.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.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 NNTP newsgroup(s).