]>
Commit | Line | Data |
---|---|---|
aea1e885 BS |
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 | |
78241744 | 3 | obj-y += gdbstub.o cpu_models.o cpu_features.o |
3d672205 | 4 | obj-$(CONFIG_SOFTMMU) += machine.o ioinst.o arch_dump.o mmu_helper.o diag.o |
fbe37ef3 | 5 | obj-$(CONFIG_KVM) += kvm.o |
dced7eec MM |
6 | |
7 | # build and run feature list generator | |
fcf5ef2a | 8 | feat-src = $(SRC_PATH)/target/$(TARGET_BASE_ARCH)/ |
dced7eec MM |
9 | feat-dst = $(BUILD_DIR)/$(TARGET_DIR) |
10 | ifneq ($(MAKECMDGOALS),clean) | |
4f04f13c | 11 | GENERATED_FILES += $(feat-dst)gen-features.h |
dced7eec MM |
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 | |
0bdb12c7 | 17 | $(call quiet-command,$< >$@,"GEN","$(TARGET_DIR)gen-features.h") |
dced7eec MM |
18 | |
19 | $(feat-dst)gen-features: $(feat-src)gen-features.c | |
0bdb12c7 | 20 | $(call quiet-command,$(HOST_CC) $(QEMU_INCLUDES) -o $@ $<,"CC","$(TARGET_DIR)gen-features") |
dced7eec MM |
21 | |
22 | clean-target: | |
23 | rm -f gen-features.h-timestamp | |
24 | rm -f gen-features.h | |
25 | rm -f gen-features |