qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 17/24] move qga/ objects to nested Makefile


From: Paolo Bonzini
Subject: [Qemu-devel] [PATCH 17/24] move qga/ objects to nested Makefile
Date: Sun, 3 Jun 2012 14:25:51 +0200

Signed-off-by: Paolo Bonzini <address@hidden>
---
 Makefile.objs |    7 ++-----
 qga/Makefile  |    4 ++++
 2 files changed, 6 insertions(+), 5 deletions(-)
 create mode 100644 qga/Makefile

diff --git a/Makefile.objs b/Makefile.objs
index 54ab6e6..73e07b0 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -383,11 +383,7 @@ universal-obj-y += $(qapi-obj-y)
 ######################################################################
 # guest agent
 
-qga-nested-y = commands.o guest-agent-command-state.o
-qga-nested-$(CONFIG_POSIX) += commands-posix.o channel-posix.o
-qga-nested-$(CONFIG_WIN32) += commands-win32.o channel-win32.o service-win32.o
-qga-obj-y = $(addprefix qga/, $(qga-nested-y))
-qga-obj-y += qemu-ga.o module.o
+qga-obj-y = qga/ qemu-ga.o module.o
 qga-obj-$(CONFIG_WIN32) += oslib-win32.o
 qga-obj-$(CONFIG_POSIX) += oslib-posix.o qemu-sockets.o qemu-option.o
 
@@ -398,6 +394,7 @@ vl.o: QEMU_CFLAGS+=$(SDL_CFLAGS)
 QEMU_CFLAGS+=$(GLIB_CFLAGS)
 
 nested-vars += \
+       qga-obj-y \
        block-obj-y \
        qom-obj-y \
        qapi-obj-y \
diff --git a/qga/Makefile b/qga/Makefile
new file mode 100644
index 0000000..11b3665
--- /dev/null
+++ b/qga/Makefile
@@ -0,0 +1,4 @@
+qga-obj-y = commands.o guest-agent-command-state.o
+qga-obj-$(CONFIG_POSIX) += commands-posix.o channel-posix.o
+qga-obj-$(CONFIG_WIN32) += commands-win32.o channel-win32.o service-win32.o
+
-- 
1.7.10.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]