1obj-$(CONFIG_TCG) += arm-semi.o
2obj-y += helper.o vfp_helper.o
3obj-y += cpu.o gdbstub.o
4obj-$(TARGET_AARCH64) += cpu64.o gdbstub64.o
5
6obj-$(CONFIG_SOFTMMU) += machine.o arch_dump.o monitor.o
7obj-$(CONFIG_SOFTMMU) += arm-powerctl.o
8
9obj-$(CONFIG_KVM) += kvm.o
10obj-$(call land,$(CONFIG_KVM),$(call lnot,$(TARGET_AARCH64))) += kvm32.o
11obj-$(call land,$(CONFIG_KVM),$(TARGET_AARCH64)) += kvm64.o
12obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o
13
14DECODETREE = $(SRC_PATH)/scripts/decodetree.py
15
16target/arm/decode-sve.inc.c: $(SRC_PATH)/target/arm/sve.decode $(DECODETREE)
17	$(call quiet-command,\
18	  $(PYTHON) $(DECODETREE) --decode disas_sve -o $@ $<,\
19	  "GEN", $(TARGET_DIR)$@)
20
21target/arm/decode-vfp.inc.c: $(SRC_PATH)/target/arm/vfp.decode $(DECODETREE)
22	$(call quiet-command,\
23	  $(PYTHON) $(DECODETREE) --static-decode disas_vfp -o $@ $<,\
24	  "GEN", $(TARGET_DIR)$@)
25
26target/arm/decode-vfp-uncond.inc.c: $(SRC_PATH)/target/arm/vfp-uncond.decode $(DECODETREE)
27	$(call quiet-command,\
28	  $(PYTHON) $(DECODETREE) --static-decode disas_vfp_uncond -o $@ $<,\
29	  "GEN", $(TARGET_DIR)$@)
30
31target/arm/decode-a32.inc.c: $(SRC_PATH)/target/arm/a32.decode $(DECODETREE)
32	$(call quiet-command,\
33	  $(PYTHON) $(DECODETREE) --static-decode disas_a32 -o $@ $<,\
34	  "GEN", $(TARGET_DIR)$@)
35
36target/arm/decode-a32-uncond.inc.c: $(SRC_PATH)/target/arm/a32-uncond.decode $(DECODETREE)
37	$(call quiet-command,\
38	  $(PYTHON) $(DECODETREE) --static-decode disas_a32_uncond -o $@ $<,\
39	  "GEN", $(TARGET_DIR)$@)
40
41target/arm/decode-t32.inc.c: $(SRC_PATH)/target/arm/t32.decode $(DECODETREE)
42	$(call quiet-command,\
43	  $(PYTHON) $(DECODETREE) --static-decode disas_t32 -o $@ $<,\
44	  "GEN", $(TARGET_DIR)$@)
45
46target/arm/decode-t16.inc.c: $(SRC_PATH)/target/arm/t16.decode $(DECODETREE)
47	$(call quiet-command,\
48	  $(PYTHON) $(DECODETREE) -w 16 --static-decode disas_t16 -o $@ $<,\
49	  "GEN", $(TARGET_DIR)$@)
50
51target/arm/translate-sve.o: target/arm/decode-sve.inc.c
52target/arm/translate.o: target/arm/decode-vfp.inc.c
53target/arm/translate.o: target/arm/decode-vfp-uncond.inc.c
54target/arm/translate.o: target/arm/decode-a32.inc.c
55target/arm/translate.o: target/arm/decode-a32-uncond.inc.c
56target/arm/translate.o: target/arm/decode-t32.inc.c
57target/arm/translate.o: target/arm/decode-t16.inc.c
58
59obj-y += tlb_helper.o debug_helper.o
60obj-y += translate.o op_helper.o
61obj-y += crypto_helper.o
62obj-y += iwmmxt_helper.o vec_helper.o neon_helper.o
63obj-y += m_helper.o
64
65obj-$(CONFIG_SOFTMMU) += psci.o
66
67obj-$(TARGET_AARCH64) += translate-a64.o helper-a64.o
68obj-$(TARGET_AARCH64) += translate-sve.o sve_helper.o
69obj-$(TARGET_AARCH64) += pauth_helper.o
70