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