Received: from eggs.gnu.org ([209.51.188.92]:44873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBEgo-0003qL-5n for qemu-devel@nongnu.org; Tue, 02 Apr 2019 04:22:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hBETI-0004pZ-9W for qemu-devel@nongnu.org; Tue, 02 Apr 2019 04:08:41 -0400 References: <20190401141222.30034-1-lvivier@redhat.com> From: Paolo Bonzini Message-ID: <6f3c5f49-9be7-85cb-d693-d608135975b5@redhat.com> Date: Tue, 2 Apr 2019 10:08:20 +0200 MIME-Version: 1.0 In-Reply-To: <20190401141222.30034-1-lvivier@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 0/5] build: cleanup in Makefile.objs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Vivier , qemu-devel@nongnu.org Cc: Stefan Hajnoczi , Gerd Hoffmann , qemu-s390x@nongnu.org, Cornelia Huck , Thomas Huth , David Hildenbrand , Richard Henderson , =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= , =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= On 01/04/19 16:12, Laurent Vivier wrote: > This cleanup removes hardware objects from the list of files to be > built for linux-user only targets. > > It also builds traces files only when the related file is built. > > Tested with all combinations of --{disable,enable}-{system,user,tools} > > v3: > - don't move hw/display to CONFIG_BLOCK section > v2: > - add CONFIG_TOOLS and CONFIG_BLOCK > - replace GENERATED_FILES by generated-files-y > and use generated-files-${CONFIG_TRACE_UST} and > generated-files-${CONFIG_SOFTMMU} > - move chardev-obj-y from SUBDIR_RULES to SOFTMMU_SUBDIR_RULES > - use $(CONFIG_BLOCK) in tests/Makefile.include > - disable qemu-ga with linux-user only > > Laurent Vivier (5): > trace: only include trace-event-subdirs when they are needed > build: replace GENERATED_FILES by generated-files-y > configure: qemu-ga is only needed with softmmu targets > build: chardev is only needed for softmmu targets > build: don't build hardware objects with linux-user > > Makefile | 43 +++++++------- > Makefile.objs | 22 ++++--- > Makefile.target | 6 +- > configure | 4 +- > target/s390x/Makefile.objs | 2 +- > tests/Makefile.include | 116 ++++++++++++++++++------------------- > 6 files changed, 102 insertions(+), 91 deletions(-) > Queued for 4.1, thanks. Paolo