It's not really a common object and this is needed to give it access to CONFIG_USER_ONLY definition. Move it to regular obj-y.
Signed-off-by: Peter Crosthwaite <peter.crosthwa...@xilinx.com> --- Makefile.target | 1 + qom/Makefile.objs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.target b/Makefile.target index 1e8d7ab..c91c8e5 100644 --- a/Makefile.target +++ b/Makefile.target @@ -84,6 +84,7 @@ all: $(PROGS) stap # cpu emulator library obj-y = exec.o translate-all.o cpu-exec.o obj-y += tcg/tcg.o tcg/optimize.o +obj-y += qom/ obj-$(CONFIG_TCG_INTERPRETER) += tci.o obj-$(CONFIG_TCG_INTERPRETER) += disas/tci.o obj-y += fpu/softfloat.o diff --git a/qom/Makefile.objs b/qom/Makefile.objs index 985003b..3604a4f 100644 --- a/qom/Makefile.objs +++ b/qom/Makefile.objs @@ -1,3 +1,3 @@ common-obj-y = object.o container.o qom-qobject.o -common-obj-y += cpu.o common-obj-y += object_interfaces.o +obj-y += cpu.o -- 2.1.0.1.g27b9230