From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJvd1-00024D-UY for qemu-devel@nongnu.org; Wed, 11 Sep 2013 21:23:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJvcx-0005RG-4i for qemu-devel@nongnu.org; Wed, 11 Sep 2013 21:23:27 -0400 Date: Thu, 12 Sep 2013 09:23:18 +0800 From: Fam Zheng Message-ID: <20130912012318.GA9134@T430s.nay.redhat.com> References: <1378918197-9036-1-git-send-email-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1378918197-9036-1-git-send-email-peter.maydell@linaro.org> Subject: Re: [Qemu-devel] [PATCH] ui/Makefile.objs: delete unnecessary cocoa.o dependency Reply-To: famz@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-trivial@nongnu.org, Paolo Bonzini , Andreas =?iso-8859-1?Q?F=E4rber?= , qemu-devel@nongnu.org, patches@linaro.org On Wed, 09/11 17:49, Peter Maydell wrote: > Delete an unnecessary dependency for cocoa.o; we already have > a general rule that tells Make that we can build a .o file > from a .m source using an ObjC compiler, so this specific > rule is unnecessary. Further, it is using the dubious construct > "$(SRC_PATH)/$(obj)" to get at the source directory, which will > break when $(obj) is redefined as part of the preparation for > per-object library support. > > Signed-off-by: Peter Maydell > --- > This needs to go in before Fam's patchset for modules > can be applied, either via a cocoa maintainer queue or via > -trivial or just as a first patch on the front of Fam's > patches if they would otherwise be being held up by this. > Sure, I'll apply to my tree and rebase if it's merged. Thanks, Fam > ui/Makefile.objs | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/ui/Makefile.objs b/ui/Makefile.objs > index 6ddc0de..f33be47 100644 > --- a/ui/Makefile.objs > +++ b/ui/Makefile.objs > @@ -17,6 +17,4 @@ common-obj-$(CONFIG_GTK) += gtk.o x_keymap.o > > $(obj)/sdl.o $(obj)/sdl_zoom.o: QEMU_CFLAGS += $(SDL_CFLAGS) > > -$(obj)/cocoa.o: $(SRC_PATH)/$(obj)/cocoa.m > - > $(obj)/gtk.o: QEMU_CFLAGS += $(GTK_CFLAGS) $(VTE_CFLAGS) > -- > 1.7.11.4 >