xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] makefile: add support for *_defconfig targets
@ 2019-05-16 13:37 Volodymyr Babchuk
  2019-05-16 13:37 ` [Xen-devel] " Volodymyr Babchuk
                   ` (2 more replies)
  0 siblings, 3 replies; 32+ messages in thread
From: Volodymyr Babchuk @ 2019-05-16 13:37 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, Volodymyr Babchuk

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

Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
---
 Changes from v2:
 - remove %_defconfig rule in favor of list of real *_defconfig files

 Makefile     | 4 ++++
 xen/Makefile | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

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..c80914c31d 100644
--- a/xen/Makefile
+++ b/xen/Makefile
@@ -264,7 +264,7 @@ $(foreach base,arch/x86/mm/guest_walk_% \
 
 kconfig := silentoldconfig oldconfig config menuconfig defconfig \
 	nconfig xconfig gconfig savedefconfig listnewconfig olddefconfig \
-	randconfig
+	randconfig $(notdir $(wildcard arch/$(SRCARCH)/configs/*_defconfig))
 .PHONY: $(kconfig)
 $(kconfig):
 	$(MAKE) -f $(BASEDIR)/tools/kconfig/Makefile.kconfig ARCH=$(ARCH) SRCARCH=$(SRCARCH) HOSTCC="$(HOSTCC)" HOSTCXX="$(HOSTCXX)" $@
-- 
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] 32+ messages in thread

end of thread, other threads:[~2019-06-15 18:27 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-16 13:37 [PATCH v2 1/2] makefile: add support for *_defconfig targets Volodymyr Babchuk
2019-05-16 13:37 ` [Xen-devel] " Volodymyr Babchuk
2019-05-16 13:37 ` [PATCH v2 2/2] arm: rename tiny64.conf to tiny64_defconfig Volodymyr Babchuk
2019-05-16 13:37   ` [Xen-devel] " Volodymyr Babchuk
2019-05-20 13:01   ` Julien Grall
2019-05-20 13:01     ` [Xen-devel] " Julien Grall
2019-05-20 13:41     ` Volodymyr Babchuk
2019-05-20 13:41       ` [Xen-devel] " Volodymyr Babchuk
2019-05-20 14:31       ` Julien Grall
2019-05-20 14:31         ` [Xen-devel] " Julien Grall
2019-05-20 14:57         ` Volodymyr Babchuk
2019-05-20 14:57           ` [Xen-devel] " Volodymyr Babchuk
2019-05-28 16:21           ` Julien Grall
2019-05-28 16:21             ` [Xen-devel] " Julien Grall
2019-05-29 11:40             ` Volodymyr Babchuk
2019-05-29 11:40               ` [Xen-devel] " Volodymyr Babchuk
2019-05-29 15:27               ` Julien Grall
2019-05-29 15:27                 ` [Xen-devel] " Julien Grall
2019-06-05 15:58   ` Jan Beulich
2019-06-05 16:01     ` Julien Grall
2019-06-10 20:03       ` Julien Grall
2019-06-11  6:43         ` Jan Beulich
2019-06-11  9:27           ` Julien Grall
2019-06-11  9:41             ` Jan Beulich
2019-06-11 10:12               ` George Dunlap
2019-06-11 13:52                 ` Julien Grall
2019-06-11 13:52               ` Julien Grall
2019-06-11 18:52       ` Volodymyr Babchuk
2019-06-12  7:44         ` Jan Beulich
2019-06-15 18:27           ` Julien Grall
2019-05-16 15:10 ` [PATCH v2 1/2] makefile: add support for *_defconfig targets Jan Beulich
2019-05-16 15:10   ` [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).