From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NoGvX-0006oy-UQ for qemu-devel@nongnu.org; Sun, 07 Mar 2010 08:53:52 -0500 Received: from [199.232.76.173] (port=50285 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NoGvX-0006oe-9W for qemu-devel@nongnu.org; Sun, 07 Mar 2010 08:53:51 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NoGvV-0005ct-1G for qemu-devel@nongnu.org; Sun, 07 Mar 2010 08:53:51 -0500 Received: from mail-gy0-f173.google.com ([209.85.160.173]:43370) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NoGvU-0005cj-JY for qemu-devel@nongnu.org; Sun, 07 Mar 2010 08:53:48 -0500 Received: by gyh4 with SMTP id 4so2414119gyh.4 for ; Sun, 07 Mar 2010 05:53:47 -0800 (PST) Message-ID: <4B93AFE5.5070806@codemonkey.ws> Date: Sun, 07 Mar 2010 07:53:41 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] QEMU license problem (was [PATCH v3] Drop --whole-archive and static libraries) References: <1262805845-10801-1-git-send-email-andreas.faerber@web.de> <4B923D70.7050707@mail.berlios.de> In-Reply-To: <4B923D70.7050707@mail.berlios.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: qemu-devel@nongnu.org, Blue Swirl , =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= , Juan Quintela , Paolo Bonzini , "Kirill A. Shutemov" , Palle Lyckegaard On 03/06/2010 05:33 AM, Stefan Weil wrote: > Blue Swirl schrieb: > >> Thanks, applied. >> >> >> On Wed, Jan 6, 2010 at 7:24 PM, Andreas Färber >> wrote: >> >>> From: Andreas Färber >>> >>> Juan has contributed a cool Makefile infrastructure that enables us >>> to drop >>> static libraries completely: >>> >>> Move shared obj-y definitions to Makefile.objs, prefixed >>> {common-,hw-,user-}, >>> and link those object files directly into the executables. >>> >>> Replace HWLIB by HWDIR, specifying only the directory. >>> >>> Drop --whole-archive and ARLIBS in Makefiles and configure. >>> >>> Drop GENERATED_HEADERS dependency in rules.mak, since this rebuilds all >>> common objects after generating a target-specific header; add dependency >>> rules to Makefile and Makefile.target instead. >>> >>> v2: >>> - Don't try to include /config.mak for user emulators >>> - Changes to user object paths ("Quickfix for libuser.a drop") were >>> obsoleted >>> by "user_only: compile everything with -fpie" (Kirill A. Shutemov) >>> >>> v3: >>> - Fix dependency modelling for tools >>> - Remove comment on GENERATED_HEADERS obsoleted by this patch >>> >>> Signed-off-by: Andreas Färber >>> Cc: Blue Swirl >>> Cc: Palle Lyckegaard >>> Cc: Ben Taylor >>> Cc: Juan Quintela >>> Cc: Kirill A. Shutemov >>> Cc: Paolo Bonzini >>> --- >>> Makefile | 138 +++++------------------------------------------- >>> Makefile.hw | 33 +----------- >>> Makefile.objs | 155 >>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++ >>> Makefile.target | 33 +++++++++--- >>> Makefile.user | 9 +--- >>> configure | 34 +------------ >>> rules.mak | 4 +- >>> 7 files changed, 202 insertions(+), 204 deletions(-) >>> create mode 100644 Makefile.objs >>> >>> > Removing libqemu.a was technically ok, but throws a license problem: > Every file contains a copyright/license. The statement in the top level is just a statement of intention. It's to make sure that people do not introduce GPL'd code into libqemu.a. Regards, Anthony Liguori