7aab5a8c8b
In preparation for supporting TCG disablement on ARM, we move most of TCG related v7m/v8m helpers and APIs into their own file. Note: It is easier to review this commit using the 'histogram' diff algorithm: $ git diff --diff-algorithm=histogram ... or $ git diff --histogram ... Suggested-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20190702144335.10717-2-philmd@redhat.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> [PMM: updated qapi #include to match recent changes there] Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
46 lines
1.6 KiB
Makefile
46 lines
1.6 KiB
Makefile
obj-$(CONFIG_TCG) += arm-semi.o
|
|
obj-y += helper.o vfp_helper.o
|
|
obj-y += cpu.o gdbstub.o
|
|
obj-$(TARGET_AARCH64) += cpu64.o gdbstub64.o
|
|
|
|
obj-$(CONFIG_SOFTMMU) += machine.o arch_dump.o monitor.o
|
|
obj-$(CONFIG_SOFTMMU) += arm-powerctl.o
|
|
|
|
obj-$(CONFIG_KVM) += kvm.o
|
|
obj-$(call land,$(CONFIG_KVM),$(call lnot,$(TARGET_AARCH64))) += kvm32.o
|
|
obj-$(call land,$(CONFIG_KVM),$(TARGET_AARCH64)) += kvm64.o
|
|
obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o
|
|
|
|
DECODETREE = $(SRC_PATH)/scripts/decodetree.py
|
|
|
|
target/arm/decode-sve.inc.c: $(SRC_PATH)/target/arm/sve.decode $(DECODETREE)
|
|
$(call quiet-command,\
|
|
$(PYTHON) $(DECODETREE) --decode disas_sve -o $@ $<,\
|
|
"GEN", $(TARGET_DIR)$@)
|
|
|
|
target/arm/decode-vfp.inc.c: $(SRC_PATH)/target/arm/vfp.decode $(DECODETREE)
|
|
$(call quiet-command,\
|
|
$(PYTHON) $(DECODETREE) --static-decode disas_vfp -o $@ $<,\
|
|
"GEN", $(TARGET_DIR)$@)
|
|
|
|
target/arm/decode-vfp-uncond.inc.c: $(SRC_PATH)/target/arm/vfp-uncond.decode $(DECODETREE)
|
|
$(call quiet-command,\
|
|
$(PYTHON) $(DECODETREE) --static-decode disas_vfp_uncond -o $@ $<,\
|
|
"GEN", $(TARGET_DIR)$@)
|
|
|
|
target/arm/translate-sve.o: target/arm/decode-sve.inc.c
|
|
target/arm/translate.o: target/arm/decode-vfp.inc.c
|
|
target/arm/translate.o: target/arm/decode-vfp-uncond.inc.c
|
|
|
|
obj-y += tlb_helper.o debug_helper.o
|
|
obj-y += translate.o op_helper.o
|
|
obj-y += crypto_helper.o
|
|
obj-y += iwmmxt_helper.o vec_helper.o neon_helper.o
|
|
obj-y += m_helper.o
|
|
|
|
obj-$(CONFIG_SOFTMMU) += psci.o
|
|
|
|
obj-$(TARGET_AARCH64) += translate-a64.o helper-a64.o
|
|
obj-$(TARGET_AARCH64) += translate-sve.o sve_helper.o
|
|
obj-$(TARGET_AARCH64) += pauth_helper.o
|