]> git.proxmox.com Git - mirror_qemu.git/blob - target/s390x/Makefile.objs
s390x/tcg: add basic MSA features
[mirror_qemu.git] / target / s390x / Makefile.objs
1 obj-y += cpu.o cpu_models.o cpu_features.o gdbstub.o interrupt.o helper.o
2 obj-$(CONFIG_TCG) += translate.o cc_helper.o excp_helper.o fpu_helper.o
3 obj-$(CONFIG_TCG) += int_helper.o mem_helper.o misc_helper.o crypto_helper.o
4 obj-$(CONFIG_SOFTMMU) += machine.o ioinst.o arch_dump.o mmu_helper.o diag.o
5 obj-$(CONFIG_KVM) += kvm.o
6 obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o
7
8 # build and run feature list generator
9 feat-src = $(SRC_PATH)/target/$(TARGET_BASE_ARCH)/
10 feat-dst = $(BUILD_DIR)/$(TARGET_DIR)
11 ifneq ($(MAKECMDGOALS),clean)
12 GENERATED_FILES += $(feat-dst)gen-features.h
13 endif
14
15 $(feat-dst)gen-features.h: $(feat-dst)gen-features.h-timestamp
16 @cmp $< $@ >/dev/null 2>&1 || cp $< $@
17 $(feat-dst)gen-features.h-timestamp: $(feat-dst)gen-features
18 $(call quiet-command,$< >$@,"GEN","$(TARGET_DIR)gen-features.h")
19
20 $(feat-dst)gen-features: $(feat-src)gen-features.c
21 $(call quiet-command,$(HOST_CC) $(QEMU_INCLUDES) -o $@ $<,"CC","$(TARGET_DIR)gen-features")
22
23 clean-target:
24 rm -f gen-features.h-timestamp
25 rm -f gen-features.h
26 rm -f gen-features