From 7f07b9cbc51066ddaa133b29389e225612aaced2 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 22 May 2012 13:42:53 +0200 Subject: build: adapt qom/Makefile and move it to Makefile.objs qom/ already used a separate makefile. Convert it to use relative paths, and make it declare both common-obj-y and user-obj-y. This way, the upper makefiles do not need to know that some QOM files are compiled twice. Signed-off-by: Paolo Bonzini --- qom/Makefile.objs | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 qom/Makefile.objs (limited to 'qom/Makefile.objs') diff --git a/qom/Makefile.objs b/qom/Makefile.objs new file mode 100644 index 0000000..5ef060a --- /dev/null +++ b/qom/Makefile.objs @@ -0,0 +1,4 @@ +qom-obj-y = object.o container.o qom-qobject.o +qom-obj-twice-y = cpu.o +common-obj-y = $(qom-obj-twice-y) +user-obj-y = $(qom-obj-twice-y) -- cgit v1.1