From patchwork Sun Jun 20 00:18:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 12333221 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 72F44C2B9F4 for ; Sun, 20 Jun 2021 01:00:01 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 29D4D61003 for ; Sun, 20 Jun 2021 01:00:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 29D4D61003 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=opensource.se Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Message-Id:Date:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=7TkgpCYkm4kP1rkuOri8hOc6gKrF7L6QVPpJIE9tLis=; b=nmsvURiIh9DKzm TXgpdNort3HbZpkjSj68XOYQjfv+P6ldjTD8igIkKqMScScmgXw/t/tgZXDe0HaETFvtM8lkFzJ7I jSROPsIJRVQnrjAdWlebnpd3xCzbw2BxvnnrVTmz0qSoNtR+diMl65XsSw3uO7YBieg1IMZCbCGf3 LhH8/6hrO44raRPR4FhIJyehAnJ5LLZmLM/Fz/XyPvA5jrj92X3sRf/RPpcElaCNkGW48ms6OqlN5 ssJjENZ2eeVCBOYNwtX5JlLPIi0rX/Sgcm29L/7dQs7uPWAVDb9hF3wMSv2r5O6AQ6tMHiEisVLTL CSurijdMkU0VIacyH5mA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lulmq-000G5n-6f; Sun, 20 Jun 2021 00:58:08 +0000 Received: from lists.levonline.com ([217.70.32.42]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lulmm-000G5L-0H for linux-arm-kernel@lists.infradead.org; Sun, 20 Jun 2021 00:58:05 +0000 Received: from exc-halon1.levonline.com (exc-halon1.levonline.com [217.70.32.123]) by lists.levonline.com (Postfix) with ESMTP id 849733A0D36 for ; Sun, 20 Jun 2021 02:55:33 +0200 (CEST) X-SA-score: -1 X-Halon-ID: 8ccaa7a9-d162-11eb-8ebc-0050568168d4 Received: from ormen2.djurnet.levonline.com (ormen2.djurnet.levonline.com [192.168.17.32]) by exc-halon1.levonline.com (Halon) with ESMTPS id 8ccaa7a9-d162-11eb-8ebc-0050568168d4; Sun, 20 Jun 2021 02:57:56 +0200 (CEST) Received: from [127.0.0.1] (l193216.ppp.asahi-net.or.jp [218.219.193.216]) (authenticated bits=0) by ormen2.djurnet.levonline.com (8.13.8/8.13.8) with ESMTP id 15K0vrfa007069; Sun, 20 Jun 2021 02:57:54 +0200 X-Origin-Levonline: b0359001 From: Magnus Damm To: linux-arm-kernel@lists.infradead.org Cc: catalin.marinas@arm.com, Magnus Damm , will@kernel.org, geert+renesas@glider.be Date: Sun, 20 Jun 2021 09:18:05 +0900 Message-Id: <162414828517.22205.15691327042917921585.sendpatchset@octo> Subject: [PATCH] arm64: clean up vdso and vdso32 files X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210619_175804_252080_BA2A592A X-CRM114-Status: UNSURE ( 6.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Magnus Damm Adjust the Makefile to remove vdso and vdso32 files during distclean. The following vdso files get generated by the defconfig as of v5.13-rc5: arch/arm64/kernel/vdso/vdso.lds arch/arm64/kernel/vdso/vdso.so arch/arm64/kernel/vdso/vdso.so.dbg Signed-off-by: Magnus Damm --- arch/arm64/Makefile | 3 +++ 1 file changed, 3 insertions(+) --- 0001/arch/arm64/Makefile +++ work/arch/arm64/Makefile 2021-06-19 18:45:17.718559303 +0900 @@ -181,6 +181,9 @@ archprepare: # We use MRPROPER_FILES and CLEAN_FILES now archclean: $(Q)$(MAKE) $(clean)=$(boot) + $(Q)$(MAKE) $(clean)=arch/arm64/kernel/vdso + $(if $(CONFIG_COMPAT_VDSO), \ + $(Q)$(MAKE) $(clean)=arch/arm64/kernel/vdso32) ifeq ($(KBUILD_EXTMOD),) # We need to generate vdso-offsets.h before compiling certain files in kernel/.