From: Volodymyr Babchuk Date: Thu, 6 Jun 2019 09:11:14 +0000 (+0200) Subject: makefile: add support for *_defconfig targets X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~2124 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8ccb2bc88636bb92e9f5f32d54c78c82a1a28957;p=xen.git makefile: add support for *_defconfig targets Ease up XEN configuration for non-standard builds, like armv8 tiny config. Signed-off-by: Volodymyr Babchuk Acked-by: Jan Beulich Acked-by: Julien Grall --- 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)" $@