Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp2425126imi; Sun, 24 Jul 2022 19:57:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t/MFz+wZll65TXWINOjtplwEl0oIllmb2GhNSxZmnAq6enhtd0fFGujS8N1XpujCZS8tgA X-Received: by 2002:a17:902:eb8f:b0:16d:4215:5f23 with SMTP id q15-20020a170902eb8f00b0016d42155f23mr10581389plg.70.1658717821312; Sun, 24 Jul 2022 19:57:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658717821; cv=none; d=google.com; s=arc-20160816; b=MvLI8QPH8QspxaPV2Z0b5vtuUQm3EHhuB9GchUuWXbKdiKI6VOcZrC21YGloHrQsBC uq+9guSCd/c6brQdrOKvucH4afLuQG2Dc9pTqboA6lsdFxTF5c6dwEtytELQMnUBdvFm aFc8VGTALhe9OGYRLYOGPTYa1BnB7C0AOR+HznihvfcQEO9++k1XDvyZSTH/DkGDuN7y zMGb0FYCxB+rVDjN7C0vXmN9ykOo4b1K68lFM2NfeaecfYlnL5XgAYtYZxAf4YLIXDev uTU4fLQx0EMAl1d585ESPZ0uT98v8vZ1uIdVgEEGrIzH7qzh2M/gU42YV67q0bOUIf8k cfXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=SCnWUTOIqjfB89rOg7Ig7Vg8sxcS4A6+OR94yhgDrEQ=; b=0twQoD93Xg0xVRpeM5oVV4Jfw36vvSJukAqSkXZXQWYWM6vyk10goyYqhTNVC4htBB XBOPNEeabZ0/XAhZrEFWnD8LojIxiA8mT7xK/R2vLOWvtfRH8lvIpwewoLk+3EDq98wU elB29OoEInX8bHmbvF9cJaczpfkaezd6FAox++/O+QkmbPv6e6BG25j/YH/wHNhZ2fje oVRJMcZcBcM3dT8S8FaWq5ywODvcZcIwUHnJUftAi3KilTBU3WDIEl7tMGQjrsmOR3go WHqsZhGyJ0wrojVtdGw5tSEFajggJYNaWQu5Rs0tvMJfSlep99fFFPOBkz6ZOQ/tGQGL swhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=uvvfneWP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m6-20020a170902db0600b0016d70bd3fd6si3081606plx.77.2022.07.24.19.56.47; Sun, 24 Jul 2022 19:57:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=uvvfneWP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232681AbiGYCWD (ORCPT + 99 others); Sun, 24 Jul 2022 22:22:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbiGYCWC (ORCPT ); Sun, 24 Jul 2022 22:22:02 -0400 Received: from conuserg-08.nifty.com (conuserg-08.nifty.com [210.131.2.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60945116F for ; Sun, 24 Jul 2022 19:21:59 -0700 (PDT) Received: from grover.sesame (133-32-177-133.west.xps.vectant.ne.jp [133.32.177.133]) (authenticated) by conuserg-08.nifty.com with ESMTP id 26P2JX9c029536; Mon, 25 Jul 2022 11:19:34 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com 26P2JX9c029536 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1658715574; bh=SCnWUTOIqjfB89rOg7Ig7Vg8sxcS4A6+OR94yhgDrEQ=; h=From:To:Cc:Subject:Date:From; b=uvvfneWPq3Jp9S3lMU+YReM/b5EXCFXzf8KWkZsGnERpRGlKQxhlnMSPxspEpX9VP gXJwFXjhqYPD//fvUIz312mXaG8YhPpGPCaUNe26MDKJO5RvxVygsQ/GDSJ9UM7Zuz 0LQsMVmgk1Ks80IaNgkb9YAaqkgj9GOId+IUMmhnS3BS3SeRmhdM2yYglANswDEnpH KQXDmzs4HW1x0sCVod7Tf/atEU8cqxnEJucaN0glYXDvst+Gionle9jGmi2Q4DEl+J accDGMlHs7JO59GAYqBZnS4OiWH1g0X8m6dq5HF1tuwu/008nKsn728cZo2wa/U9oQ 5LUGRLsBFdqjg== X-Nifty-SrcIP: [133.32.177.133] From: Masahiro Yamada To: Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org Cc: Masahiro Yamada , Borislav Petkov , Li Zhengyu , Nick Desaulniers , linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] riscv/purgatory: hard-code obj-y in Makefile Date: Mon, 25 Jul 2022 11:19:01 +0900 Message-Id: <20220725021902.625630-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The purgatory/ directory is entirely guarded in arch/riscv/Kbuild. CONFIG_ARCH_HAS_KEXEC_PURGATORY is bool type. $(CONFIG_ARCH_HAS_KEXEC_PURGATORY) is always 'y' when Kbuild visits this Makefile for building. Signed-off-by: Masahiro Yamada --- (no changes since v1) arch/riscv/purgatory/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/riscv/purgatory/Makefile b/arch/riscv/purgatory/Makefile index d4df200f7edf..c2d14e2f345d 100644 --- a/arch/riscv/purgatory/Makefile +++ b/arch/riscv/purgatory/Makefile @@ -92,4 +92,4 @@ quiet_cmd_bin2c = BIN2C $@ $(obj)/kexec-purgatory.c: $(obj)/purgatory.ro $(obj)/purgatory.chk FORCE $(call if_changed,bin2c) -obj-$(CONFIG_ARCH_HAS_KEXEC_PURGATORY) += kexec-purgatory.o +obj-y += kexec-purgatory.o -- 2.34.1