aboutsummaryrefslogtreecommitdiff
path: root/hw/xtensa/Makefile.objs
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xtensa/Makefile.objs')
-rw-r--r--hw/xtensa/Makefile.objs4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xtensa/Makefile.objs b/hw/xtensa/Makefile.objs
index f30e4a7e07..fa86730e23 100644
--- a/hw/xtensa/Makefile.objs
+++ b/hw/xtensa/Makefile.objs
@@ -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