diff --git a/Makefile.target b/Makefile.target index 32b0100344..a4b292d2e2 100644 --- a/Makefile.target +++ b/Makefile.target @@ -101,7 +101,6 @@ obj-y += fpu/softfloat.o obj-y += target/$(TARGET_BASE_ARCH)/ obj-y += disas.o obj-$(call notempty,$(TARGET_XML_FILES)) += gdbstub-xml.o -obj-$(call lnot,$(CONFIG_HAX)) += hax-stub.o obj-$(CONFIG_LIBDECNUMBER) += libdecnumber/decContext.o obj-$(CONFIG_LIBDECNUMBER) += libdecnumber/decNumber.o diff --git a/accel/stubs/Makefile.objs b/accel/stubs/Makefile.objs index fdfbf7332c..c071abaf4e 100644 --- a/accel/stubs/Makefile.objs +++ b/accel/stubs/Makefile.objs @@ -1,2 +1,3 @@ +obj-$(call lnot,$(CONFIG_HAX)) += hax-stub.o obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o obj-$(call lnot,$(CONFIG_TCG)) += tcg-stub.o diff --git a/hax-stub.c b/accel/stubs/hax-stub.c similarity index 100% rename from hax-stub.c rename to accel/stubs/hax-stub.c