mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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:
1 parent
ff7e72a1ca
commit
8ccb2bc886
2 files changed
+5
-1
No files matched your search
@@ -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
@@ -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)" $@
|
||||
|
||||