From: Roland McGrath <roland@redhat.com>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Pavel Machek <pavel@ucw.cz>,
akpm@linux-foundation.org, linux-kbuild@vger.kernel.org
Subject: Re: [patch 11/18] kconfig CROSS_COMPILE option
Date: Sat, 19 Sep 2009 16:48:23 -0700 (PDT) [thread overview]
Message-ID: <20090919234823.12E5E13BA3@magilla.sf.frob.com> (raw)
In-Reply-To: Sam Ravnborg's message of Saturday, 19 September 2009 15:13:16 +0200 <20090919131316.GA26044@merkur.ravnborg.org>
> Another approach would be to ask kbuild for
> this information so we do not expose various filenames to the
> outer world.
For shell scripts and makefiles, running a command like make and retrieving
its output via pipe is de rigueur. But for some other programs it might be
substantially less hassle to just read plain files. That's what I was
thinking, anyway. (I only really think that $ARCH is something that anyone
would want to fetch before they'd run make anyway, and I guess $SUBARCH in
the case of ARCH=um, but not $CROSS_COMPILE.)
> This is analogous to the way we ask for
> kernelrelease and kernelversion these days.
Except that include/config/kernel.release is there for all to see (when
referring to /lib/modules/.../build directory, e.g.), so perhaps some
people are in fact using that.
Thanks,
Roland
next prev parent reply other threads:[~2009-09-19 23:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-18 19:49 [patch 11/18] kconfig CROSS_COMPILE option akpm
2009-09-19 9:02 ` Sam Ravnborg
2009-09-19 12:19 ` Roland McGrath
2009-09-19 13:13 ` Sam Ravnborg
2009-09-19 23:48 ` Roland McGrath [this message]
2009-09-20 10:31 ` Sam Ravnborg
2009-09-21 3:53 ` Roland McGrath
2009-09-23 7:16 ` Pavel Machek
-- strict thread matches above, loose matches on Subject: below --
2009-09-14 21:49 akpm
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=20090919234823.12E5E13BA3@magilla.sf.frob.com \
--to=roland@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=sam@ravnborg.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