hw/xtensa/Makefile.objs: Build xtensa_sim and xtensa_fpga conditionally

Add the new CONFIG_* values to default-config/xtensa*-softmmu.mak.

Signed-off-by: Ákos Kovács <akoskovacs@gmx.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Message-Id: <20190202072456.6468-17-yang.zhong@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Ákos Kovács 2019-02-02 15:24:45 +08:00 committed by Paolo Bonzini
parent 27f3ac3fa6
commit d84929da9a
3 changed files with 8 additions and 2 deletions

View file

@ -3,3 +3,6 @@
CONFIG_SERIAL=y
CONFIG_OPENCORES_ETH=y
CONFIG_PFLASH_CFI01=y
CONFIG_XTENSA_SIM=y
CONFIG_XTENSA_FPGA=y

View file

@ -3,3 +3,6 @@
CONFIG_SERIAL=y
CONFIG_OPENCORES_ETH=y
CONFIG_PFLASH_CFI01=y
CONFIG_XTENSA_SIM=y
CONFIG_XTENSA_FPGA=y

View file

@ -1,5 +1,5 @@
obj-y += mx_pic.o
obj-y += pic_cpu.o
obj-y += sim.o
obj-y += xtensa_memory.o
obj-y += xtfpga.o
obj-$(CONFIG_XTENSA_SIM) += sim.o
obj-$(CONFIG_XTENSA_FPGA) += xtfpga.o