From: Julien Grall <julien.grall@arm.com>
To: Stefano Stabellini <sstabellini@kernel.org>
Cc: xen-devel@lists.xenproject.org, ian.jackson@eu.citrix.com,
jbeulich@suse.com, Andrew.Cooper3@citrix.com
Subject: Re: [PATCH] xen/arm: Allow cleaning the directory even when CONFIG_EARLY_PRINTK is set
Date: Wed, 24 Apr 2019 11:47:04 +0100 [thread overview]
Message-ID: <d664ac40-a4aa-9967-8534-ea722f8e0724@arm.com> (raw)
In-Reply-To: <alpine.DEB.2.10.1904231709250.24598@sstabellini-ThinkPad-X260>
Hi,
On 24/04/2019 01:20, Stefano Stabellini wrote:
> On Mon, 22 Apr 2019, Julien Grall wrote:
>> CONFIG_EARLY_PRINTK can only be set when CONFIG_DEBUG is enabled. It can
>> be quite convenient to only modify the target.
>>
>> However, the target clean will not include the .config.
>>
>> This means CONFIG_DEBUG is not enabled and therefore make will throw
>> an error preventing clean to continue.
>>
>> The check is not moved at linking time.
> ^ now ?
>
>
>> Signed-off-by: Julien Grall <julien.grall@arm.com>
>>
>> ---
>>
>> This code is pretty nasty, but I haven't found a better way for avoiding
>> to check if CONFIG_DEBUG is enabled when the target clean is called.
>>
>> Ideally we will want to move CONFIG_EARLY_PRINTK in Kconfig. I haven't
>> had time yet to look at it properly so far.
>
> Can we include .config in the clean target?
I did only mention the clean target in the commit message but the issue is the
same for any target not include .config. For instance, a distclean results to
the same error.
It also feels quite wrong to expect the .config to be in place for any target
other than build.
Cheers,
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
WARNING: multiple messages have this Message-ID (diff)
From: Julien Grall <julien.grall@arm.com>
To: Stefano Stabellini <sstabellini@kernel.org>
Cc: xen-devel@lists.xenproject.org, ian.jackson@eu.citrix.com,
jbeulich@suse.com, Andrew.Cooper3@citrix.com
Subject: Re: [Xen-devel] [PATCH] xen/arm: Allow cleaning the directory even when CONFIG_EARLY_PRINTK is set
Date: Wed, 24 Apr 2019 11:47:04 +0100 [thread overview]
Message-ID: <d664ac40-a4aa-9967-8534-ea722f8e0724@arm.com> (raw)
Message-ID: <20190424104704.r69a93OthiiJvzSTBwCbyEAB0fiEPwXeHKaF_BCKfYw@z> (raw)
In-Reply-To: <alpine.DEB.2.10.1904231709250.24598@sstabellini-ThinkPad-X260>
Hi,
On 24/04/2019 01:20, Stefano Stabellini wrote:
> On Mon, 22 Apr 2019, Julien Grall wrote:
>> CONFIG_EARLY_PRINTK can only be set when CONFIG_DEBUG is enabled. It can
>> be quite convenient to only modify the target.
>>
>> However, the target clean will not include the .config.
>>
>> This means CONFIG_DEBUG is not enabled and therefore make will throw
>> an error preventing clean to continue.
>>
>> The check is not moved at linking time.
> ^ now ?
>
>
>> Signed-off-by: Julien Grall <julien.grall@arm.com>
>>
>> ---
>>
>> This code is pretty nasty, but I haven't found a better way for avoiding
>> to check if CONFIG_DEBUG is enabled when the target clean is called.
>>
>> Ideally we will want to move CONFIG_EARLY_PRINTK in Kconfig. I haven't
>> had time yet to look at it properly so far.
>
> Can we include .config in the clean target?
I did only mention the clean target in the commit message but the issue is the
same for any target not include .config. For instance, a distclean results to
the same error.
It also feels quite wrong to expect the .config to be in place for any target
other than build.
Cheers,
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next prev parent reply other threads:[~2019-04-24 10:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-22 16:41 [PATCH] xen/arm: Allow cleaning the directory even when CONFIG_EARLY_PRINTK is set Julien Grall
2019-04-22 16:41 ` [Xen-devel] " Julien Grall
2019-04-24 0:20 ` Stefano Stabellini
2019-04-24 0:20 ` [Xen-devel] " Stefano Stabellini
2019-04-24 10:47 ` Julien Grall [this message]
2019-04-24 10:47 ` Julien Grall
2019-05-23 8:27 ` Jan Beulich
2019-05-23 8:27 ` [Xen-devel] " Jan Beulich
2019-05-23 9:10 ` Julien Grall
2019-05-23 9:10 ` [Xen-devel] " Julien Grall
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=d664ac40-a4aa-9967-8534-ea722f8e0724@arm.com \
--to=julien.grall@arm.com \
--cc=Andrew.Cooper3@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jbeulich@suse.com \
--cc=sstabellini@kernel.org \
--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).