From: Pavel Machek <pavel@ucw.cz>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Roland McGrath <roland@redhat.com>,
akpm@linux-foundation.org, linux-kbuild@vger.kernel.org
Subject: Re: [patch 11/18] kconfig CROSS_COMPILE option
Date: Wed, 23 Sep 2009 09:16:41 +0200 [thread overview]
Message-ID: <20090923071641.GA8565@elf.ucw.cz> (raw)
In-Reply-To: <20090920103108.GA26667@merkur.ravnborg.org>
Hi!
> > > 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.
>
> So when I move that file to include/generated I will break users script silently - sigh.
>
> Revised patch following your guidelines below.
> Does this look better to you?
Well.. having that option in .config, so it can be easily transported
between trees (as proposed originally) would be even nicer, but I
guess this is better than nothing.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2009-09-23 7:17 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
2009-09-20 10:31 ` Sam Ravnborg
2009-09-21 3:53 ` Roland McGrath
2009-09-23 7:16 ` Pavel Machek [this message]
-- 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=20090923071641.GA8565@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=akpm@linux-foundation.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=roland@redhat.com \
--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