From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDeBH-00062B-LY for qemu-devel@nongnu.org; Thu, 26 Nov 2009 08:14:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDeBB-000613-TU for qemu-devel@nongnu.org; Thu, 26 Nov 2009 08:14:42 -0500 Received: from [199.232.76.173] (port=53401 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDeBA-00060x-Ug for qemu-devel@nongnu.org; Thu, 26 Nov 2009 08:14:37 -0500 Received: from lo.gmane.org ([80.91.229.12]:56084) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NDeBA-0005eR-6C for qemu-devel@nongnu.org; Thu, 26 Nov 2009 08:14:36 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NDeAz-0002xi-2A for qemu-devel@nongnu.org; Thu, 26 Nov 2009 14:14:25 +0100 Received: from nat-pool-brq-t.redhat.com ([209.132.186.34]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Nov 2009 14:14:25 +0100 Received: from pbonzini by nat-pool-brq-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Nov 2009 14:14:25 +0100 From: Paolo Bonzini Date: Thu, 26 Nov 2009 14:13:53 +0100 Message-ID: References: <1258898842-5222-1-git-send-email-weil@mail.berlios.de> <4B0E57AC.5090401@mail.berlios.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: <4B0E57AC.5090401@mail.berlios.de> Sender: news Subject: [Qemu-devel] Re: [PATCH] Makefile: Add missing rule for config-devices.mak List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > What about overwriting it automatically when it was not modified > by the user? This would only need a backup copy of the original > default configuration. I assume that most users don't change > config-devices.mak, so they would be happy with this solution. > Calling "make defconfig" is only the second best solution for them. > > A more sophisticated solution could try to create a patch from > original default configuration and user modified configuration. > Make could try to apply this patch to the new default configuration, > and if there is no conflict, all is fine as well. What about writing an include directive for the default config instead? Then the user can add his overrides to the bottom of the include. Paolo