From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:48845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjXHZ-0000I1-Gp for qemu-devel@nongnu.org; Fri, 14 Dec 2012 10:34:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TjXHV-0001FX-4F for qemu-devel@nongnu.org; Fri, 14 Dec 2012 10:34:37 -0500 Received: from cantor2.suse.de ([195.135.220.15]:46689 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjXHU-0001FS-R4 for qemu-devel@nongnu.org; Fri, 14 Dec 2012 10:34:33 -0500 Message-ID: <50CB4705.80609@suse.de> Date: Fri, 14 Dec 2012 16:34:29 +0100 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1354726153-30264-1-git-send-email-ehabkost@redhat.com> <1354726153-30264-2-git-send-email-ehabkost@redhat.com> In-Reply-To: <1354726153-30264-2-git-send-email-ehabkost@redhat.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 1/8] Move -I$(SRC_PATH)/include compiler flag to Makefile.objs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost , Paolo Bonzini Cc: Igor Mammedov , Don Slutz , qemu-devel@nongnu.org Am 05.12.2012 17:49, schrieb Eduardo Habkost: > The flag is necessary for code that doesn't use the variables from > Makefile (but use Makefile.objs), like libcacard/ and stubs/. >=20 > This also moves the existing CFLAGS lines from Makefile.objs at the > beginning of the file, to keep them all in the same place. >=20 > Signed-off-by: Eduardo Habkost Waiting for ack or nack from Paolo here. I am expecting some overlap with his header file reorganization series. My previous (unanswered?) question was why you are moving vl.o lines in addition to the QEMU_CFLAGS lines that you mention in the commit message. Andreas > --- > Makefile | 1 - > Makefile.objs | 15 +++++++++------ > 2 files changed, 9 insertions(+), 7 deletions(-) >=20 > diff --git a/Makefile b/Makefile > index 9ecbcbb..739d9cd 100644 > --- a/Makefile > +++ b/Makefile > @@ -145,7 +145,6 @@ audio/audio.o audio/fmodaudio.o: QEMU_CFLAGS +=3D $= (FMOD_CFLAGS) > =20 > QEMU_CFLAGS+=3D$(CURL_CFLAGS) > =20 > -QEMU_CFLAGS +=3D -I$(SRC_PATH)/include > =20 > ui/cocoa.o: ui/cocoa.m > =20 > diff --git a/Makefile.objs b/Makefile.objs > index 3c7abca..0a0a33a 100644 > --- a/Makefile.objs > +++ b/Makefile.objs > @@ -1,4 +1,13 @@ > ######################################################################= # > +# general compiler flags > + > +QEMU_CFLAGS +=3D $(GLIB_CFLAGS) > +QEMU_CFLAGS +=3D -I$(SRC_PATH)/include > + > +vl.o: QEMU_CFLAGS+=3D$(GPROF_CFLAGS) > +vl.o: QEMU_CFLAGS+=3D$(SDL_CFLAGS) > + > +######################################################################= # > # Stub library, linked in tools > stub-obj-y =3D stubs/ > =20 > @@ -236,12 +245,6 @@ universal-obj-y +=3D $(qapi-obj-y) > qga-obj-y =3D qga/ qemu-ga.o module.o qemu-tool.o > qga-obj-$(CONFIG_POSIX) +=3D qemu-sockets.o qemu-option.o > =20 > -vl.o: QEMU_CFLAGS+=3D$(GPROF_CFLAGS) > - > -vl.o: QEMU_CFLAGS+=3D$(SDL_CFLAGS) > - > -QEMU_CFLAGS+=3D$(GLIB_CFLAGS) > - > nested-vars +=3D \ > stub-obj-y \ > qga-obj-y \ >=20 --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg