xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 1/2] makefile: add support for *_defconfig targets
@ 2019-05-14 18:45 Volodymyr Babchuk
  2019-05-14 18:45 ` [Xen-devel] " Volodymyr Babchuk
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Volodymyr Babchuk @ 2019-05-14 18:45 UTC (permalink / raw)
  To: xen-devel
  Cc: Stefano Stabellini, Wei Liu, Konrad Rzeszutek Wilk,
	George Dunlap, Andrew Cooper, Ian Jackson, Tim Deegan,
	Julien Grall, Jan Beulich, Andrii Anisov, Volodymyr Babchuk

Ease up XEN configuration for non-standard builds, like
armv8 tiny config.

Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
---
 Makefile     | 4 ++++
 xen/Makefile | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/Makefile b/Makefile
index 829ac63741..ef1ea44ef1 100644
--- a/Makefile
+++ b/Makefile
@@ -54,6 +54,10 @@ build: $(TARGS_BUILD)
 build-xen:
 	$(MAKE) -C xen build
 
+.PHONY: %_defconfig
+%_defconfig:
+	$(MAKE) -C xen $@
+
 .PHONY: build-tools
 build-tools: build-tools-public-headers
 	$(MAKE) -C tools build
diff --git a/xen/Makefile b/xen/Makefile
index 1fd8ad5116..3c7e423132 100644
--- a/xen/Makefile
+++ b/xen/Makefile
@@ -269,6 +269,9 @@ kconfig := silentoldconfig oldconfig config menuconfig defconfig \
 $(kconfig):
 	$(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(ARCH) SRCARCH=$(SRCARCH) HOSTCC="$(HOSTCC)" HOSTCXX="$(HOSTCXX)" $@
 
+%_defconfig:
+	$(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(ARCH) SRCARCH=$(SRCARCH) HOSTCC="$(HOSTCC)" HOSTCXX="$(HOSTCXX)" $@
+
 include/config/%.conf: include/config/auto.conf.cmd $(KCONFIG_CONFIG)
 	$(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(ARCH) SRCARCH=$(SRCARCH) HOSTCC="$(HOSTCC)" HOSTCXX="$(HOSTCXX)" silentoldconfig
 
-- 
2.21.0

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [Xen-devel] [PATCH v1 1/2] makefile: add support for *_defconfig targets
  2019-05-14 18:45 [PATCH v1 1/2] makefile: add support for *_defconfig targets Volodymyr Babchuk
@ 2019-05-14 18:45 ` Volodymyr Babchuk
  2019-05-14 18:45 ` [PATCH v1 2/2] arm: rename tiny64.conf to tiny64_defconfig Volodymyr Babchuk
  2019-05-15  7:24 ` [PATCH v1 1/2] makefile: add support for *_defconfig targets Jan Beulich
  2 siblings, 0 replies; 10+ messages in thread
From: Volodymyr Babchuk @ 2019-05-14 18:45 UTC (permalink / raw)
  To: xen-devel
  Cc: Stefano Stabellini, Wei Liu, Konrad Rzeszutek Wilk,
	George Dunlap, Andrew Cooper, Ian Jackson, Tim Deegan,
	Julien Grall, Jan Beulich, Andrii Anisov, Volodymyr Babchuk

Ease up XEN configuration for non-standard builds, like
armv8 tiny config.

Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
---
 Makefile     | 4 ++++
 xen/Makefile | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/Makefile b/Makefile
index 829ac63741..ef1ea44ef1 100644
--- a/Makefile
+++ b/Makefile
@@ -54,6 +54,10 @@ build: $(TARGS_BUILD)
 build-xen:
 	$(MAKE) -C xen build
 
+.PHONY: %_defconfig
+%_defconfig:
+	$(MAKE) -C xen $@
+
 .PHONY: build-tools
 build-tools: build-tools-public-headers
 	$(MAKE) -C tools build
diff --git a/xen/Makefile b/xen/Makefile
index 1fd8ad5116..3c7e423132 100644
--- a/xen/Makefile
+++ b/xen/Makefile
@@ -269,6 +269,9 @@ kconfig := silentoldconfig oldconfig config menuconfig defconfig \
 $(kconfig):
 	$(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(ARCH) SRCARCH=$(SRCARCH) HOSTCC="$(HOSTCC)" HOSTCXX="$(HOSTCXX)" $@
 
+%_defconfig:
+	$(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(ARCH) SRCARCH=$(SRCARCH) HOSTCC="$(HOSTCC)" HOSTCXX="$(HOSTCXX)" $@
+
 include/config/%.conf: include/config/auto.conf.cmd $(KCONFIG_CONFIG)
 	$(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(ARCH) SRCARCH=$(SRCARCH) HOSTCC="$(HOSTCC)" HOSTCXX="$(HOSTCXX)" silentoldconfig
 
-- 
2.21.0

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH v1 2/2] arm: rename tiny64.conf to tiny64_defconfig
  2019-05-14 18:45 [PATCH v1 1/2] makefile: add support for *_defconfig targets Volodymyr Babchuk
  2019-05-14 18:45 ` [Xen-devel] " Volodymyr Babchuk
@ 2019-05-14 18:45 ` Volodymyr Babchuk
  2019-05-14 18:45   ` [Xen-devel] " Volodymyr Babchuk
  2019-05-15  7:24 ` [PATCH v1 1/2] makefile: add support for *_defconfig targets Jan Beulich
  2 siblings, 1 reply; 10+ messages in thread
From: Volodymyr Babchuk @ 2019-05-14 18:45 UTC (permalink / raw)
  To: xen-devel
  Cc: Stefano Stabellini, Wei Liu, Konrad Rzeszutek Wilk,
	George Dunlap, Andrew Cooper, Ian Jackson, Tim Deegan,
	Julien Grall, Jan Beulich, Andrii Anisov, Volodymyr Babchuk

As build system now supports *_defconfig rules it is good to be able
to configure minimal XEN image with

 make tiny64_defconfig

command.

Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Suggested-by: Andrii Anisov <andrii_anisov@epam.com>
---
 xen/arch/arm/configs/{tiny64.conf => tiny64_defconfig} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename xen/arch/arm/configs/{tiny64.conf => tiny64_defconfig} (100%)

diff --git a/xen/arch/arm/configs/tiny64.conf b/xen/arch/arm/configs/tiny64_defconfig
similarity index 100%
rename from xen/arch/arm/configs/tiny64.conf
rename to xen/arch/arm/configs/tiny64_defconfig
-- 
2.21.0

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Xen-devel] [PATCH v1 2/2] arm: rename tiny64.conf to tiny64_defconfig
  2019-05-14 18:45 ` [PATCH v1 2/2] arm: rename tiny64.conf to tiny64_defconfig Volodymyr Babchuk
@ 2019-05-14 18:45   ` Volodymyr Babchuk
  0 siblings, 0 replies; 10+ messages in thread
From: Volodymyr Babchuk @ 2019-05-14 18:45 UTC (permalink / raw)
  To: xen-devel
  Cc: Stefano Stabellini, Wei Liu, Konrad Rzeszutek Wilk,
	George Dunlap, Andrew Cooper, Ian Jackson, Tim Deegan,
	Julien Grall, Jan Beulich, Andrii Anisov, Volodymyr Babchuk

As build system now supports *_defconfig rules it is good to be able
to configure minimal XEN image with

 make tiny64_defconfig

command.

Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Suggested-by: Andrii Anisov <andrii_anisov@epam.com>
---
 xen/arch/arm/configs/{tiny64.conf => tiny64_defconfig} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename xen/arch/arm/configs/{tiny64.conf => tiny64_defconfig} (100%)

diff --git a/xen/arch/arm/configs/tiny64.conf b/xen/arch/arm/configs/tiny64_defconfig
similarity index 100%
rename from xen/arch/arm/configs/tiny64.conf
rename to xen/arch/arm/configs/tiny64_defconfig
-- 
2.21.0

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v1 1/2] makefile: add support for *_defconfig targets
  2019-05-14 18:45 [PATCH v1 1/2] makefile: add support for *_defconfig targets Volodymyr Babchuk
  2019-05-14 18:45 ` [Xen-devel] " Volodymyr Babchuk
  2019-05-14 18:45 ` [PATCH v1 2/2] arm: rename tiny64.conf to tiny64_defconfig Volodymyr Babchuk
@ 2019-05-15  7:24 ` Jan Beulich
  2019-05-15  7:24   ` [Xen-devel] " Jan Beulich
  2019-05-15 19:07   ` Volodymyr Babchuk
  2 siblings, 2 replies; 10+ messages in thread
From: Jan Beulich @ 2019-05-15  7:24 UTC (permalink / raw)
  To: Volodymyr Babchuk
  Cc: Stefano Stabellini, Wei Liu, Konrad Rzeszutek Wilk,
	George Dunlap, Andrew Cooper, Ian Jackson, Tim Deegan,
	Julien Grall, xen-devel, andrii_anisov

>>> On 14.05.19 at 20:45, <Volodymyr_Babchuk@epam.com> wrote:
> --- a/xen/Makefile
> +++ b/xen/Makefile
> @@ -269,6 +269,9 @@ kconfig := silentoldconfig oldconfig config menuconfig defconfig \
>  $(kconfig):
>  	$(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(ARCH) SRCARCH=$(SRCARCH) HOSTCC="$(HOSTCC)" HOSTCXX="$(HOSTCXX)" $@

So the rule you add matches this one. Is there a reason ...

> +%_defconfig:

... why you can't simply add this to the kconfig variable set a few
lines up? Oh - newer make doesn't like mixing pattern and
non-pattern rules. Perhaps worth a brief comment, to justify the
redundancy? Or alternatively, how about using $(wildcard )
instead of a pattern rule, thus rejecting invalid targets right away,
rather than deferring to the recursive make to notice the error?

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Xen-devel] [PATCH v1 1/2] makefile: add support for *_defconfig targets
  2019-05-15  7:24 ` [PATCH v1 1/2] makefile: add support for *_defconfig targets Jan Beulich
@ 2019-05-15  7:24   ` Jan Beulich
  2019-05-15 19:07   ` Volodymyr Babchuk
  1 sibling, 0 replies; 10+ messages in thread
From: Jan Beulich @ 2019-05-15  7:24 UTC (permalink / raw)
  To: Volodymyr Babchuk
  Cc: Stefano Stabellini, Wei Liu, Konrad Rzeszutek Wilk,
	George Dunlap, Andrew Cooper, Ian Jackson, Tim Deegan,
	Julien Grall, xen-devel, andrii_anisov

>>> On 14.05.19 at 20:45, <Volodymyr_Babchuk@epam.com> wrote:
> --- a/xen/Makefile
> +++ b/xen/Makefile
> @@ -269,6 +269,9 @@ kconfig := silentoldconfig oldconfig config menuconfig defconfig \
>  $(kconfig):
>  	$(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(ARCH) SRCARCH=$(SRCARCH) HOSTCC="$(HOSTCC)" HOSTCXX="$(HOSTCXX)" $@

So the rule you add matches this one. Is there a reason ...

> +%_defconfig:

... why you can't simply add this to the kconfig variable set a few
lines up? Oh - newer make doesn't like mixing pattern and
non-pattern rules. Perhaps worth a brief comment, to justify the
redundancy? Or alternatively, how about using $(wildcard )
instead of a pattern rule, thus rejecting invalid targets right away,
rather than deferring to the recursive make to notice the error?

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v1 1/2] makefile: add support for *_defconfig targets
  2019-05-15  7:24 ` [PATCH v1 1/2] makefile: add support for *_defconfig targets Jan Beulich
  2019-05-15  7:24   ` [Xen-devel] " Jan Beulich
@ 2019-05-15 19:07   ` Volodymyr Babchuk
  2019-05-15 19:07     ` [Xen-devel] " Volodymyr Babchuk
  2019-05-16  7:21     ` Jan Beulich
  1 sibling, 2 replies; 10+ messages in thread
From: Volodymyr Babchuk @ 2019-05-15 19:07 UTC (permalink / raw)
  To: Jan Beulich
  Cc: Stefano Stabellini, Andrii Anisov, Konrad Rzeszutek Wilk,
	George Dunlap, Andrew Cooper, Ian Jackson, Tim Deegan,
	Julien Grall, xen-devel, Wei Liu, Volodymyr Babchuk


Hello Jan,

Jan Beulich writes:

>>>> On 14.05.19 at 20:45, <Volodymyr_Babchuk@epam.com> wrote:
>> --- a/xen/Makefile
>> +++ b/xen/Makefile
>> @@ -269,6 +269,9 @@ kconfig := silentoldconfig oldconfig config menuconfig defconfig \
>>  $(kconfig):
>>  	$(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(ARCH) SRCARCH=$(SRCARCH) HOSTCC="$(HOSTCC)" HOSTCXX="$(HOSTCXX)" $@
>
> So the rule you add matches this one. Is there a reason ...
>
>> +%_defconfig:
>
> ... why you can't simply add this to the kconfig variable set a few
> lines up? Oh - newer make doesn't like mixing pattern and
> non-pattern rules.
Yes, my first intention was to add this rule to the kconfig variable.
Sadly make does not allows this

> Perhaps worth a brief comment, to justify the
> redundancy?
Sure, will add in the next version.

> Or alternatively, how about using $(wildcard )
> instead of a pattern rule, thus rejecting invalid targets right away,
> rather than deferring to the recursive make to notice the error?
I considered this, but I can't see how $(wildcard ) can be used.
AFAIK, $(wildcard ) expects to find a file, matching the wildcard.
But %_defconfig is the phony rule, so I can't imagine how to use
$(wildcard ) in this case.

On other hand, following rule checks the presence of required _defconfig file:

%_defconfig: arch/$(SRCARCH)/configs/%_defconfig

So, I can do in this way if you wish.

BTW, I'll add .PHONY: %_defconfig in the next version.

--
Best regards, Volodymyr Babchuk
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Xen-devel] [PATCH v1 1/2] makefile: add support for *_defconfig targets
  2019-05-15 19:07   ` Volodymyr Babchuk
@ 2019-05-15 19:07     ` Volodymyr Babchuk
  2019-05-16  7:21     ` Jan Beulich
  1 sibling, 0 replies; 10+ messages in thread
From: Volodymyr Babchuk @ 2019-05-15 19:07 UTC (permalink / raw)
  To: Jan Beulich
  Cc: Stefano Stabellini, Andrii Anisov, Konrad Rzeszutek Wilk,
	George Dunlap, Andrew Cooper, Ian Jackson, Tim Deegan,
	Julien Grall, xen-devel, Wei Liu, Volodymyr Babchuk


Hello Jan,

Jan Beulich writes:

>>>> On 14.05.19 at 20:45, <Volodymyr_Babchuk@epam.com> wrote:
>> --- a/xen/Makefile
>> +++ b/xen/Makefile
>> @@ -269,6 +269,9 @@ kconfig := silentoldconfig oldconfig config menuconfig defconfig \
>>  $(kconfig):
>>  	$(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(ARCH) SRCARCH=$(SRCARCH) HOSTCC="$(HOSTCC)" HOSTCXX="$(HOSTCXX)" $@
>
> So the rule you add matches this one. Is there a reason ...
>
>> +%_defconfig:
>
> ... why you can't simply add this to the kconfig variable set a few
> lines up? Oh - newer make doesn't like mixing pattern and
> non-pattern rules.
Yes, my first intention was to add this rule to the kconfig variable.
Sadly make does not allows this

> Perhaps worth a brief comment, to justify the
> redundancy?
Sure, will add in the next version.

> Or alternatively, how about using $(wildcard )
> instead of a pattern rule, thus rejecting invalid targets right away,
> rather than deferring to the recursive make to notice the error?
I considered this, but I can't see how $(wildcard ) can be used.
AFAIK, $(wildcard ) expects to find a file, matching the wildcard.
But %_defconfig is the phony rule, so I can't imagine how to use
$(wildcard ) in this case.

On other hand, following rule checks the presence of required _defconfig file:

%_defconfig: arch/$(SRCARCH)/configs/%_defconfig

So, I can do in this way if you wish.

BTW, I'll add .PHONY: %_defconfig in the next version.

--
Best regards, Volodymyr Babchuk
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v1 1/2] makefile: add support for *_defconfig targets
  2019-05-15 19:07   ` Volodymyr Babchuk
  2019-05-15 19:07     ` [Xen-devel] " Volodymyr Babchuk
@ 2019-05-16  7:21     ` Jan Beulich
  2019-05-16  7:21       ` [Xen-devel] " Jan Beulich
  1 sibling, 1 reply; 10+ messages in thread
From: Jan Beulich @ 2019-05-16  7:21 UTC (permalink / raw)
  To: Volodymyr Babchuk
  Cc: Stefano Stabellini, Wei Liu, Konrad Rzeszutek Wilk,
	George Dunlap, Andrew Cooper, Ian Jackson, Tim Deegan,
	Julien Grall, xen-devel, andrii_anisov

>>> On 15.05.19 at 21:07, <Volodymyr_Babchuk@epam.com> wrote:

> Hello Jan,
> 
> Jan Beulich writes:
> 
>>>>> On 14.05.19 at 20:45, <Volodymyr_Babchuk@epam.com> wrote:
>>> --- a/xen/Makefile
>>> +++ b/xen/Makefile
>>> @@ -269,6 +269,9 @@ kconfig := silentoldconfig oldconfig config menuconfig 
> defconfig \
>>>  $(kconfig):
>>>  	$(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(ARCH) 
> SRCARCH=$(SRCARCH) HOSTCC="$(HOSTCC)" HOSTCXX="$(HOSTCXX)" $@
>>
>> So the rule you add matches this one. Is there a reason ...
>>
>>> +%_defconfig:
>>
>> ... why you can't simply add this to the kconfig variable set a few
>> lines up? Oh - newer make doesn't like mixing pattern and
>> non-pattern rules.
> Yes, my first intention was to add this rule to the kconfig variable.
> Sadly make does not allows this
> 
>> Perhaps worth a brief comment, to justify the
>> redundancy?
> Sure, will add in the next version.
> 
>> Or alternatively, how about using $(wildcard )
>> instead of a pattern rule, thus rejecting invalid targets right away,
>> rather than deferring to the recursive make to notice the error?
> I considered this, but I can't see how $(wildcard ) can be used.
> AFAIK, $(wildcard ) expects to find a file, matching the wildcard.
> But %_defconfig is the phony rule, so I can't imagine how to use
> $(wildcard ) in this case.
> 
> On other hand, following rule checks the presence of required _defconfig 
> file:
> 
> %_defconfig: arch/$(SRCARCH)/configs/%_defconfig

And similarly I'd expect $(wildcard arch/$(SRCARCH)/configs/*_defconfig)
to work as suggested (wrapped in $(notdir ...) to strip the path).

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Xen-devel] [PATCH v1 1/2] makefile: add support for *_defconfig targets
  2019-05-16  7:21     ` Jan Beulich
@ 2019-05-16  7:21       ` Jan Beulich
  0 siblings, 0 replies; 10+ messages in thread
From: Jan Beulich @ 2019-05-16  7:21 UTC (permalink / raw)
  To: Volodymyr Babchuk
  Cc: Stefano Stabellini, Wei Liu, Konrad Rzeszutek Wilk,
	George Dunlap, Andrew Cooper, Ian Jackson, Tim Deegan,
	Julien Grall, xen-devel, andrii_anisov

>>> On 15.05.19 at 21:07, <Volodymyr_Babchuk@epam.com> wrote:

> Hello Jan,
> 
> Jan Beulich writes:
> 
>>>>> On 14.05.19 at 20:45, <Volodymyr_Babchuk@epam.com> wrote:
>>> --- a/xen/Makefile
>>> +++ b/xen/Makefile
>>> @@ -269,6 +269,9 @@ kconfig := silentoldconfig oldconfig config menuconfig 
> defconfig \
>>>  $(kconfig):
>>>  	$(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(ARCH) 
> SRCARCH=$(SRCARCH) HOSTCC="$(HOSTCC)" HOSTCXX="$(HOSTCXX)" $@
>>
>> So the rule you add matches this one. Is there a reason ...
>>
>>> +%_defconfig:
>>
>> ... why you can't simply add this to the kconfig variable set a few
>> lines up? Oh - newer make doesn't like mixing pattern and
>> non-pattern rules.
> Yes, my first intention was to add this rule to the kconfig variable.
> Sadly make does not allows this
> 
>> Perhaps worth a brief comment, to justify the
>> redundancy?
> Sure, will add in the next version.
> 
>> Or alternatively, how about using $(wildcard )
>> instead of a pattern rule, thus rejecting invalid targets right away,
>> rather than deferring to the recursive make to notice the error?
> I considered this, but I can't see how $(wildcard ) can be used.
> AFAIK, $(wildcard ) expects to find a file, matching the wildcard.
> But %_defconfig is the phony rule, so I can't imagine how to use
> $(wildcard ) in this case.
> 
> On other hand, following rule checks the presence of required _defconfig 
> file:
> 
> %_defconfig: arch/$(SRCARCH)/configs/%_defconfig

And similarly I'd expect $(wildcard arch/$(SRCARCH)/configs/*_defconfig)
to work as suggested (wrapped in $(notdir ...) to strip the path).

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-05-16  7:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-14 18:45 [PATCH v1 1/2] makefile: add support for *_defconfig targets Volodymyr Babchuk
2019-05-14 18:45 ` [Xen-devel] " Volodymyr Babchuk
2019-05-14 18:45 ` [PATCH v1 2/2] arm: rename tiny64.conf to tiny64_defconfig Volodymyr Babchuk
2019-05-14 18:45   ` [Xen-devel] " Volodymyr Babchuk
2019-05-15  7:24 ` [PATCH v1 1/2] makefile: add support for *_defconfig targets Jan Beulich
2019-05-15  7:24   ` [Xen-devel] " Jan Beulich
2019-05-15 19:07   ` Volodymyr Babchuk
2019-05-15 19:07     ` [Xen-devel] " Volodymyr Babchuk
2019-05-16  7:21     ` Jan Beulich
2019-05-16  7:21       ` [Xen-devel] " Jan Beulich

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).