From patchwork Tue Sep 26 22:37:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Anastasio X-Patchwork-Id: 13399706 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AE01FE7F143 for ; Tue, 26 Sep 2023 22:39:06 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.608551.947105 (Exim 4.92) (envelope-from ) id 1qlGha-0005uZ-Co; Tue, 26 Sep 2023 22:38:46 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 608551.947105; Tue, 26 Sep 2023 22:38:46 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qlGha-0005uS-A9; Tue, 26 Sep 2023 22:38:46 +0000 Received: by outflank-mailman (input) for mailman id 608551; Tue, 26 Sep 2023 22:38:45 +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 1qlGhZ-0005uH-58 for xen-devel@lists.xenproject.org; Tue, 26 Sep 2023 22:38:45 +0000 Received: from raptorengineering.com (mail.raptorengineering.com [23.155.224.40]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 71e05ee3-5cbd-11ee-9b0d-b553b5be7939; Wed, 27 Sep 2023 00:38:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.rptsys.com (Postfix) with ESMTP id 07A998285AAD; Tue, 26 Sep 2023 17:38:32 -0500 (CDT) Received: from mail.rptsys.com ([127.0.0.1]) by localhost (vali.starlink.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 4b0SZ9vwVaO2; Tue, 26 Sep 2023 17:38:31 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by mail.rptsys.com (Postfix) with ESMTP id 6C3FB8285690; Tue, 26 Sep 2023 17:38:31 -0500 (CDT) Received: from mail.rptsys.com ([127.0.0.1]) by localhost (vali.starlink.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id iZDDmjElaz6e; Tue, 26 Sep 2023 17:38:31 -0500 (CDT) Received: from raptor-ewks-026.rptsys.com (5.edge.rptsys.com [23.155.224.38]) by mail.rptsys.com (Postfix) with ESMTPSA id E650282854B0; Tue, 26 Sep 2023 17:38:30 -0500 (CDT) 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: 71e05ee3-5cbd-11ee-9b0d-b553b5be7939 DKIM-Filter: OpenDKIM Filter v2.10.3 mail.rptsys.com 6C3FB8285690 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raptorengineering.com; s=B8E824E6-0BE2-11E6-931D-288C65937AAD; t=1695767911; bh=34z+XO3iFnnbea1oH9CHpJPde99KYi0yOabtl66Tq90=; h=From:To:Date:Message-Id:MIME-Version; b=syvMnWBUdMYXOT8hXBKcjoRoBsaHqzI0c9ym6YWtwUprP38/x5EvjuSfqMMDKu4yp FHPeSIRS3nCOTy4QXoWJIotFIQbqEeUrXUs44KmFDArrMbmeQRD+pMWhc8Oq8Ljrq5 nl7tR4R/Ov2NRQYgNy1rAt8MPKfcyEtaxdzVLS24= X-Virus-Scanned: amavisd-new at rptsys.com From: Shawn Anastasio To: xen-devel@lists.xenproject.org Cc: Timothy Pearson , Shawn Anastasio , Doug Goldstein , Stefano Stabellini , Michal Orzel , Jan Beulich Subject: [PATCH v3 1/2] automation: Change build script to use arch defconfig Date: Tue, 26 Sep 2023 17:37:38 -0500 Message-Id: <5baa15904c5bb5f8d668c67519ad08293c32982d.1695767747.git.sanastasio@raptorengineering.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Change automation build script to call the make defconfig target before setting CONFIG_DEBUG and extra options. This fixes issues on Power where the build fails without using the ppc64_defconfig. Reported-by: Jan Beulich Signed-off-by: Shawn Anastasio Reviewed-by: Stefano Stabellini --- v3: Drop unnecessary sed. v2: No changes. automation/scripts/build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.30.2 diff --git a/automation/scripts/build b/automation/scripts/build index b4edcf010e..b3c71fb6fb 100755 --- a/automation/scripts/build +++ b/automation/scripts/build @@ -22,7 +22,10 @@ if [[ "${RANDCONFIG}" == "y" ]]; then # RANDCONFIG implies HYPERVISOR_ONLY HYPERVISOR_ONLY="y" else - echo "CONFIG_DEBUG=${debug}" > xen/.config + # Start off with arch's defconfig + make -C xen defconfig + + echo "CONFIG_DEBUG=${debug}" >> xen/.config if [[ -n "${EXTRA_XEN_CONFIG}" ]]; then echo "${EXTRA_XEN_CONFIG}" >> xen/.config