Patchwork [2/2] state that fsdev depends on LINUX only once

login
register
mail settings
Submitter Juan Quintela
Date May 11, 2010, 11:13 a.m.
Message ID <3eddc65f14af58981560cf630adc3594dd45e522.1273576209.git.quintela@redhat.com>
Download mbox | patch
Permalink /patch/52284/
State New
Headers show

Comments

Juan Quintela - May 11, 2010, 11:13 a.m.
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 Makefile.objs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/Makefile.objs b/Makefile.objs
index 95d864b..f963c3f 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -35,8 +35,8 @@  net-nested-$(CONFIG_SLIRP) += slirp.o
 net-nested-$(CONFIG_VDE) += vde.o
 net-obj-y += $(addprefix net/, $(net-nested-y))

-fsdev-nested-$(CONFIG_LINUX) = qemu-fsdev.o
-fsdev-obj-$(CONFIG_LINUX) += $(addprefix fsdev/, $(fsdev-nested-y))
+fsdev-nested-y = qemu-fsdev.o
+fsdev-obj-y += $(addprefix fsdev/, $(fsdev-nested-y))

 ######################################################################
 # shared-obj-y has the object that are shared by qemu binary and tools
@@ -50,7 +50,7 @@  shared-obj-y = qemu-error.o $(block-obj-y) $(qobject-obj-y)

 common-obj-y = $(shared-obj-y)
 common-obj-y += $(net-obj-y)
-common-obj-$(CONFIG_LINUX) += $(fsdev-obj-$(CONFIG_LINUX))
+common-obj-$(CONFIG_LINUX) += $(fsdev-obj-y)
 common-obj-y += readline.o console.o async.o
 common-obj-y += tcg-runtime.o host-utils.o
 common-obj-y += irq.o ioport.o input.o