From nobody Mon Dec 9 08:01:41 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1729614353; cv=none; d=zohomail.com; s=zohoarc; b=GzBp3u6Z1AQlAWcueNlYxjFILY/O/aq9GrlnCP5jqieW7w3GRZXuzq/+YaKf3TwSkxGvRfNAfslVBb8nWhiKbyUjBHhsqiT4Wl0soYKQGb9ta84KFYGB01IGINO7Gbux1+ntJyLYxWOaCLhpO4Sv3ugz6AI23e0IwO/rRzOyses= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1729614353; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=c2GqfTiYEITsKI2G8oNRKcJ3hgTFn5qErcVqjd9xvQU=; b=aVKgRYY5PhZmoL+cjtpbCrjDjbVYzBUFjg6SSMztxSFjczkOHu8CgpXfviS4Ub6zhJOKNSnljShGHn1YsEpuL2JNQL9jiU+dmTTKQXWTHUl9MCBe/RuZZuGIa6bmEFss4WkZ1XM4QS8tT/4GxgGloLRfJe9RSj0R4gNtmlt0X+s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1729614353369751.8694440774123; Tue, 22 Oct 2024 09:25:53 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.824263.1238366 (Exim 4.92) (envelope-from ) id 1t3Hgy-0002xd-VL; Tue, 22 Oct 2024 16:25:08 +0000 Received: by outflank-mailman (output) from mailman id 824263.1238366; Tue, 22 Oct 2024 16:25:08 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t3Hgy-0002xW-Rh; Tue, 22 Oct 2024 16:25:08 +0000 Received: by outflank-mailman (input) for mailman id 824263; Tue, 22 Oct 2024 16:25:07 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t3Hgx-0002xQ-56 for xen-devel@lists.xenproject.org; Tue, 22 Oct 2024 16:25:07 +0000 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [2a00:1450:4864:20::62e]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 31ada791-9092-11ef-99a3-01e77a169b0f; Tue, 22 Oct 2024 18:25:04 +0200 (CEST) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a9932aa108cso867056566b.2 for ; Tue, 22 Oct 2024 09:25:04 -0700 (PDT) Received: from andrewcoop.eng.citrite.net ([185.25.67.249]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9a912f6520sm361919966b.73.2024.10.22.09.25.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2024 09:25:02 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 31ada791-9092-11ef-99a3-01e77a169b0f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1729614303; x=1730219103; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=c2GqfTiYEITsKI2G8oNRKcJ3hgTFn5qErcVqjd9xvQU=; b=flGwP1EwYypKwcQwRSyNgDey+HM9DK03BKkW7lD3GpbMoeSTXnW2wD4gh9ZffbuaoF u0pA/FdmikAEf+eXUG+laMjo0sLwWWV2CISQ1JBAaS3XSORybS9PVlItBiJp7pKBpVO/ SsB/d93MqmuUVDFo3IgAHg4mEY5a2C6VpQ/rM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729614303; x=1730219103; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=c2GqfTiYEITsKI2G8oNRKcJ3hgTFn5qErcVqjd9xvQU=; b=FJmJhD4YSE/UtoGp+niZqp/DqAVfxe3lbKyxKH0/ToL04XuktKlqyVoxX+1t3q8q6E nnobjBjSl1r6JTTw33SwyWqd/3aeRuA/yEp9FiYJWzre//HioSarxjIBw3fh8sBhl4IV VZuA67Bv58Ly5vwDgwiBkAZvW4NLc1vWcxkjy9KEnbogsNduH3WCMHRYRQMt5r4VKDCF zZA8m6yAxSGY0KoERVRAyIXxK6p9UcvfbtiR2Qp7BSo/W7PJfKbjQtgjRZTGrt0E5SGA W51nglS3OrHbkAgMgqOrMYBWcplO6g1Nv0uo8Nf1LtZfkZ8Fs1u2K7MRCCoQIuClnBRI Ihcw== X-Gm-Message-State: AOJu0YwuFyEKUAQa96W3JGz57KaUyqVj07UTsPxssCyminF3v/Hhhs9Z nKTQPz5ZMTUcirrol911MS7LD41xM7lqG4B9+hZmvRO5Rn78DsCgxP2jA3XlHBeSBAsYEnuyxGm H X-Google-Smtp-Source: AGHT+IHksscOUJc5PefEfajL9dLUsn1H1OiC7NmneMuYfRFsy/NQCBLMFTCiHfF4aY/m7e1HoVnc1A== X-Received: by 2002:a17:907:6092:b0:a9a:3e33:8d9e with SMTP id a640c23a62f3a-a9aace72be3mr316261966b.28.1729614303488; Tue, 22 Oct 2024 09:25:03 -0700 (PDT) From: Andrew Cooper To: Xen-devel Cc: Andrew Cooper , Jan Beulich , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Anthony PERARD , =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Subject: [PATCH] tools/pvhsim: Inherit the tools debug= setting Date: Tue, 22 Oct 2024 17:25:00 +0100 Message-Id: <20241022162500.121276-1-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1729614355606116600 Right now, builds of pvshim are non-debug, because of pvshim_defconfig. However, this means that Gitlab CI testing is less effective than it wants = to be. Include Rules.mk, and feed the tools-wide debug=3D setting. Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: Roger Pau Monn=C3=A9 CC: Anthony PERARD CC: Marek Marczykowski-G=C3=B3recki I don't particualrly like this, because while it ends up getting the appropriate choice of CONFIG_DEBUG, all other symbols with a default depend= ent on CONFIG_DEBUG get their non-debug form. --- tools/firmware/xen-dir/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/firmware/xen-dir/Makefile b/tools/firmware/xen-dir/Makef= ile index 6f5e208ab413..e19916f76722 100644 --- a/tools/firmware/xen-dir/Makefile +++ b/tools/firmware/xen-dir/Makefile @@ -1,4 +1,5 @@ XEN_ROOT =3D $(CURDIR)/../../.. +include $(XEN_ROOT)/tools/Rules.mk =20 all: xen-shim =20 @@ -75,6 +76,8 @@ $(D): linkfarm.stamp =20 $(D)/xen/.config: $(D) $(MAKE) -C $(@D) KBUILD_DEFCONFIG=3Dpvshim_defconfig defconfig + echo "CONFIG_DEBUG=3D$(if $(debug),y,n)" >> $@ + $(MAKE) -C $(@D) olddefconfig =20 xen-shim: $(D)/xen/.config $(MAKE) -C $(