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
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
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")
19 $(feat-dst)gen-features: $(feat-src)gen-features.c
20 $(call quiet-command,$(HOST_CC) $(QEMU_INCLUDES) -o $@ $<," CC $(TARGET_DIR)gen-features")
23 rm -f gen-features.h-timestamp