From: Roger Pau Monne <roger.pau@citrix.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>,
Wei Liu <wei.liu2@citrix.com>,
George Dunlap <George.Dunlap@eu.citrix.com>,
Andrew Cooper <andrew.cooper3@citrix.com>,
Ian Jackson <ian.jackson@eu.citrix.com>, Tim Deegan <tim@xen.org>,
xen-devel@lists.xenproject.org,
Doug Goldstein <cardoe@cardoe.com>
Subject: Re: [PATCH] xen/kconfig: unify messages of options moved from command line to kconfig
Date: Tue, 2 Aug 2016 15:58:35 +0200 [thread overview]
Message-ID: <20160802135835.ezbmphe6eayficzj@mac> (raw)
In-Reply-To: <579F85180200007800101650@prv-mh.provo.novell.com>
On Mon, Aug 01, 2016 at 09:21:28AM -0600, Jan Beulich wrote:
> >>> On 26.07.16 at 17:45, <roger.pau@citrix.com> wrote:
> > Change the message so that it mentions running from the top level directory
> > and using '-C xen' in order to call the 'menuconfig' target inside of the
> > xen directory (there's no top-level menuconfig target).
>
> Well, I'm not convinced whether this end up clarifying or confusing
> things, as that partly depends on how you normally invoke make (or
> the various makes of the sub-trees individually).
Hm, and what about adding a top-level menuconfig target, does that sound any
better?
TBH, I'm not specially thrilled either way, I just think the message is
misleading, but I don't mind putting this aside if everyone else is fine
with it.
> > --- a/xen/Rules.mk
> > +++ b/xen/Rules.mk
> > @@ -9,27 +9,31 @@ lto ?= n
> >
> > include $(XEN_ROOT)/Config.mk
> >
> > +error_str = "You must use '$(MAKE) -C xen menuconfig' from the top level directory to enable/disable $(1) now."
> > +error_msg = $(error $(error_str))
> > +warning_msg = $(warning $(error_str))
>
> In any event with the two given uses "error_str" is not an
> appropriate name. How about "build-diag" or some such?
>
> > +
> >
> > ifneq ($(origin crash_debug),undefined)
>
> And please don't add a stray second blank line like this.
Ack to the above comments, but will wait for opinions before resending.
Roger.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-08-02 13:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-26 15:45 [PATCH] xen/kconfig: unify messages of options moved from command line to kconfig Roger Pau Monne
2016-08-01 15:21 ` Jan Beulich
2016-08-02 13:58 ` Roger Pau Monne [this message]
2016-08-02 14:06 ` Jan Beulich
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=20160802135835.ezbmphe6eayficzj@mac \
--to=roger.pau@citrix.com \
--cc=George.Dunlap@eu.citrix.com \
--cc=JBeulich@suse.com \
--cc=andrew.cooper3@citrix.com \
--cc=cardoe@cardoe.com \
--cc=ian.jackson@eu.citrix.com \
--cc=sstabellini@kernel.org \
--cc=tim@xen.org \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xenproject.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).