makefile: add support for *_defconfig targets

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

Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Julien Grall <julien.grall@arm.com>
This commit is contained in:
Volodymyr Babchuk authored and Jan Beulich committed 2019-06-06 11:11:14 +02:00
1 parent ff7e72a1ca
commit 8ccb2bc886
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -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
+1 -1
View File
@@ -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)" $@
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.