Received: from eggs.gnu.org ([2001:4830:134:3::10]:54058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKmU8-0004in-6i for qemu-devel@nongnu.org; Fri, 22 Aug 2014 06:54:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKmU2-0004Xz-1T for qemu-devel@nongnu.org; Fri, 22 Aug 2014 06:54:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKmU1-0004Xr-Pu for qemu-devel@nongnu.org; Fri, 22 Aug 2014 06:54:13 -0400 From: Fam Zheng Date: Fri, 22 Aug 2014 18:54:17 +0800 Message-Id: <1408704863-12343-2-git-send-email-famz@redhat.com> In-Reply-To: <1408704863-12343-1-git-send-email-famz@redhat.com> References: <1408704863-12343-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH v2 1/7] build-sys: Move fifo8.c to hw/misc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, peter.crosthwaite@xilinx.com, mjt@tls.msk.ru, stefanha@redhat.com Since it has a dependency on vmstate and is only used by device emulation, moving out from util will make the archive more independent. Signed-off-by: Fam Zheng --- hw/misc/Makefile.objs | 1 + {util => hw/misc}/fifo8.c | 0 util/Makefile.objs | 1 - 3 files changed, 1 insertion(+), 1 deletion(-) rename {util => hw/misc}/fifo8.c (100%) diff --git a/hw/misc/Makefile.objs b/hw/misc/Makefile.objs index 979e532..a4a5ad7 100644 --- a/hw/misc/Makefile.objs +++ b/hw/misc/Makefile.objs @@ -41,3 +41,4 @@ obj-$(CONFIG_SLAVIO) += slavio_misc.o obj-$(CONFIG_ZYNQ) += zynq_slcr.o obj-$(CONFIG_PVPANIC) += pvpanic.o +obj-y += fifo8.o diff --git a/util/fifo8.c b/hw/misc/fifo8.c similarity index 100% rename from util/fifo8.c rename to hw/misc/fifo8.c diff --git a/util/Makefile.objs b/util/Makefile.objs index 6b3c83b..65a36f6 100644 --- a/util/Makefile.objs +++ b/util/Makefile.objs @@ -3,7 +3,6 @@ util-obj-$(CONFIG_WIN32) += oslib-win32.o qemu-thread-win32.o event_notifier-win util-obj-$(CONFIG_POSIX) += oslib-posix.o qemu-thread-posix.o event_notifier-posix.o qemu-openpty.o util-obj-y += envlist.o path.o host-utils.o module.o util-obj-y += bitmap.o bitops.o hbitmap.o -util-obj-y += fifo8.o util-obj-y += acl.o util-obj-y += error.o qemu-error.o util-obj-$(CONFIG_POSIX) += compatfd.o -- 2.0.3