summaryrefslogtreecommitdiff
path: root/Makefile.objs
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2011-01-28 18:09:08 +0530
committerVenkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>2011-04-27 08:24:37 -0700
commit353ac78d495ef976242abd868f68d78420861c2c (patch)
tree68ee7899bb33c5ccca0935683d69f9e4754d2c85 /Makefile.objs
parent661bfc80e876d32da8befe53ba0234d87fc0bcc2 (diff)
downloadqemu-353ac78d495ef976242abd868f68d78420861c2c.tar.gz
qemu-353ac78d495ef976242abd868f68d78420861c2c.tar.bz2
qemu-353ac78d495ef976242abd868f68d78420861c2c.zip
virtio-9p: move 9p files around
Now that we start adding more files related to 9pfs it make sense to move them to a separate directory Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Diffstat (limited to 'Makefile.objs')
-rw-r--r--Makefile.objs10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile.objs b/Makefile.objs
index 1b446958c5..0cbff4d293 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -285,9 +285,13 @@ sound-obj-$(CONFIG_HDA) += intel-hda.o hda-audio.o
adlib.o fmopl.o: QEMU_CFLAGS += -DBUILD_Y8950=0
hw-obj-$(CONFIG_SOUND) += $(sound-obj-y)
-hw-obj-$(CONFIG_REALLY_VIRTFS) += virtio-9p-debug.o
-hw-obj-$(CONFIG_VIRTFS) += virtio-9p-local.o virtio-9p-xattr.o
-hw-obj-$(CONFIG_VIRTFS) += virtio-9p-xattr-user.o virtio-9p-posix-acl.o
+9pfs-nested-$(CONFIG_VIRTFS) = virtio-9p-debug.o
+9pfs-nested-$(CONFIG_VIRTFS) += virtio-9p-local.o virtio-9p-xattr.o
+9pfs-nested-$(CONFIG_VIRTFS) += virtio-9p-xattr-user.o virtio-9p-posix-acl.o
+
+hw-obj-$(CONFIG_REALLY_VIRTFS) += $(addprefix 9pfs/, $(9pfs-nested-y))
+$(addprefix 9pfs/, $(9pfs-nested-y)): CFLAGS += -I$(SRC_PATH)/hw/
+
######################################################################
# libdis