From patchwork Fri Jan 8 17:21:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Douglas Goldstein X-Patchwork-Id: 7987831 Return-Path: X-Original-To: patchwork-xen-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 90CD29F38D for ; Fri, 8 Jan 2016 17:24:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C836F201C7 for ; Fri, 8 Jan 2016 17:24:34 +0000 (UTC) Received: from lists.xen.org (lists.xenproject.org [50.57.142.19]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EEDBF20172 for ; Fri, 8 Jan 2016 17:24:33 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aHajF-0003Gh-Go; Fri, 08 Jan 2016 17:21:33 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aHajE-0003GW-Sg for xen-devel@lists.xen.org; Fri, 08 Jan 2016 17:21:32 +0000 Received: from [85.158.139.211] by server-6.bemta-5.messagelabs.com id 35/CD-22089-C10FF865; Fri, 08 Jan 2016 17:21:32 +0000 X-Env-Sender: cardoe@cardoe.com X-Msg-Ref: server-4.tower-206.messagelabs.com!1452273689!14757168!1 X-Originating-IP: [209.85.160.182] X-SpamReason: No, hits=0.0 required=7.0 tests=UPPERCASE_25_50 X-StarScan-Received: X-StarScan-Version: 7.35.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 42686 invoked from network); 8 Jan 2016 17:21:29 -0000 Received: from mail-yk0-f182.google.com (HELO mail-yk0-f182.google.com) (209.85.160.182) by server-4.tower-206.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 8 Jan 2016 17:21:29 -0000 Received: by mail-yk0-f182.google.com with SMTP id a85so291698480ykb.1 for ; Fri, 08 Jan 2016 09:21:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cardoe-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=ki+QzAqmR//SQWdeyoRf6nonWXt07QMKuoTPTomK94o=; b=mJ4Y6j/CRgDQE90C0AJAyXVYxqKEQ36vla/n/Xq1gBcZrj9byvsPBTTy/0RdwKvkWo qnXyp9EO47d8dzhBp+515LFllRaYXgZSaDtkNufRr5cZuap/+ZIg3rVsbX8Ha/3VOO5z RuZ4untP/2/NYkIOpMxD8Chhm4ueci2DBP6R1YxfMLRbBxNHndnlkxKSzCRfujSYO8sv 4+GGB5FSS0vM9eJ2vogba7RicyaseiQG3V/Btk61Uo54RYnLAG70kBZ0YBWpjluTubH5 UdiXNkImVLjrCOBC9zwER1tvymr0TWmtlNxOdChHaNFGbvUc27iS18EYC6RfP+9VCPMb Ou9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ki+QzAqmR//SQWdeyoRf6nonWXt07QMKuoTPTomK94o=; b=mVnIuG5Il00wQmGzX/8yV1pSUrI+jlyHM4YNIHtncFoV3ELTaghqmwqVOuEQ5QLTM0 lcUad/vI9ZsOBbmejKOn4Un7AtgGGoremBNaa1A5hT0ElXdBn+Z6hJVVcwbsDKlYmXMD sFPGb9AEjZTQC0fvBKvGwTdDNj7cwD0AACOlea6ohEQV/cdSjNQDdGRKvKxXjGjZrfbg TRp0mtNoI9eaEGes7dGBi58dxqK+M+MCqZ+IouwXlg0eo9M6F3oxQ4SNCgH7TtauIqqH Upl/iDz7FsPU60zU5FPkHUe94S/fTu9T48paiQQ83BgApsBEta5H0H7QuVXIK4zNcP0U 3ZmA== X-Gm-Message-State: ALoCoQkcdHQ3b/S1dmf1MW+asEDQU2SzlMNhMLW8HKBquAQx+2lPd/jF4zhKhBUIPgJ1T4/R38D2fnpPBFODu/5hmNwBzc/K7Q== X-Received: by 10.129.123.9 with SMTP id w9mr92161762ywc.214.1452273688888; Fri, 08 Jan 2016 09:21:28 -0800 (PST) Received: from swanson.lan (c-68-46-196-185.hsd1.al.comcast.net. [68.46.196.185]) by smtp.gmail.com with ESMTPSA id e64sm43519606ywb.54.2016.01.08.09.21.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 08 Jan 2016 09:21:27 -0800 (PST) From: Doug Goldstein To: xen-devel@lists.xen.org Date: Fri, 8 Jan 2016 11:21:14 -0600 Message-Id: <1452273674-1524-1-git-send-email-cardoe@cardoe.com> X-Mailer: git-send-email 2.4.10 Cc: Keir Fraser , Ian Campbell , Tim Deegan , Doug Goldstein , Jan Beulich , Ian Jackson Subject: [Xen-devel] [PATCH] build: save generated xen .config X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since we now support changing Xen options with Kconfig, we should save the configuration that was used to build up Xen. This will save it in /usr/lib/debug alongside xen-syms and call it xen-$(FULLVERSION).config Suggested-by: Ian Campbell Requested-by: Jan Beulich # the directory Signed-off-by: Doug Goldstein --- xen/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/Makefile b/xen/Makefile index 9023863..d30d251 100644 --- a/xen/Makefile +++ b/xen/Makefile @@ -58,6 +58,7 @@ _install: $(TARGET)$(CONFIG_XEN_INSTALL_SUFFIX) ln -f -s $(T)-$(XEN_FULLVERSION)$(Z) $(D)$(BOOT_DIR)/$(T)$(Z) [ -d "$(D)$(DEBUG_DIR)" ] || $(INSTALL_DIR) $(D)$(DEBUG_DIR) $(INSTALL_DATA) $(TARGET)-syms $(D)$(DEBUG_DIR)/$(T)-syms-$(XEN_FULLVERSION) + $(INSTALL_DATA) $(KCONFIG_CONFIG) $(D)$(DEBUG_DIR)/$(T)-$(XEN_FULLVERSION).config if [ -r $(TARGET).efi -a -n '$(EFI_DIR)' ]; then \ [ -d $(D)$(EFI_DIR) ] || $(INSTALL_DIR) $(D)$(EFI_DIR); \ $(INSTALL_DATA) $(TARGET).efi $(D)$(EFI_DIR)/$(T)-$(XEN_FULLVERSION).efi; \