]>
Commit | Line | Data |
---|---|---|
b114588c TH |
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 | |
7705c750 | 3 | obj-$(CONFIG_TCG) += int_helper.o mem_helper.o misc_helper.o crypto_helper.o |
3d672205 | 4 | obj-$(CONFIG_SOFTMMU) += machine.o ioinst.o arch_dump.o mmu_helper.o diag.o |
74b4c74d | 5 | obj-$(CONFIG_SOFTMMU) += sigp.o |
fbe37ef3 | 6 | obj-$(CONFIG_KVM) += kvm.o |
f16bbb9b | 7 | obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o |
dced7eec MM |
8 | |
9 | # build and run feature list generator | |
fcf5ef2a | 10 | feat-src = $(SRC_PATH)/target/$(TARGET_BASE_ARCH)/ |
dced7eec MM |
11 | feat-dst = $(BUILD_DIR)/$(TARGET_DIR) |
12 | ifneq ($(MAKECMDGOALS),clean) | |
4f04f13c | 13 | GENERATED_FILES += $(feat-dst)gen-features.h |
dced7eec MM |
14 | endif |
15 | ||
16 | $(feat-dst)gen-features.h: $(feat-dst)gen-features.h-timestamp | |
17 | @cmp $< $@ >/dev/null 2>&1 || cp $< $@ | |
18 | $(feat-dst)gen-features.h-timestamp: $(feat-dst)gen-features | |
0bdb12c7 | 19 | $(call quiet-command,$< >$@,"GEN","$(TARGET_DIR)gen-features.h") |
dced7eec MM |
20 | |
21 | $(feat-dst)gen-features: $(feat-src)gen-features.c | |
0bdb12c7 | 22 | $(call quiet-command,$(HOST_CC) $(QEMU_INCLUDES) -o $@ $<,"CC","$(TARGET_DIR)gen-features") |
dced7eec MM |
23 | |
24 | clean-target: | |
25 | rm -f gen-features.h-timestamp | |
26 | rm -f gen-features.h | |
27 | rm -f gen-features |