From patchwork Sat Sep 10 08:11:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 12972457 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 8CB03C6FA82 for ; Sat, 10 Sep 2022 08:13:26 +0000 (UTC) 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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mhiKzHhwYso7IO4cqmgGRcqlnX+tE7JUGHNRexPa3HA=; b=LVombhXXzz7yXJ kGzRw6li8pJOQMrQvVPHi5ta3ArUUkZe/xN2+pwInJIUkA19/bmX8TXdnPSKLn6wGCVXDx3crxK0p fqGRYZXy8WipaM60jj0cYqUjZ50d81yfDvXHYEmZ56QMN6sEFX1Z8a8ns0YgD23snOuvlYCU1TYly YWgFIBz2uuoxGErmxEaJb+666QLbKfMrEZpBf24dqin6cajNrYhzjf1Nb64XiknrfIKCLCuqjcCUr EfONEbh141TWiPYdUrhzzwwjOkvbzTzfPc1f+qmo/ML+Qd1FWP8Y1SAKjo1Di3Y+50wwJn6K7b5t+ XxoGYhSrKQsPlAxVg3OQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oWvbC-008bfR-TJ; Sat, 10 Sep 2022 08:12:23 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oWvb4-008bdn-Ra for linux-arm-kernel@lists.infradead.org; Sat, 10 Sep 2022 08:12:16 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2ABAC60C01; Sat, 10 Sep 2022 08:12:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E441FC43470; Sat, 10 Sep 2022 08:12:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662797533; bh=gNcwlKIVMSZfaRxtUZW3gfM7EluuDUlm60FCTCj34rE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=D2GkVOyJJ4TmTz26zUDLg3zWi3uNNBnOhGOHPPaQILh2UIk9ISRL10Tpwo7QHsay8 khIfi/NKlm3tnW1eNlcQU4A7xcSjqAstz91/j6geiVmSCpzfvFxWJQl9G44Tjhcsts u1usu5Xnm75rGT0jZzUgzww2mDPheqz7KW0xvauhJ+t4L+j5CygXt/3BuqqHzoJ5+w txBhyr14i2Pho87xnnmt5KmcA76YdsjRmQgRRmUSVLcP63YqFZTuIsOIU5vvg4Y64W xEMhNkthW1DfyI/CBjjgdUxxT863iH66avfxy6ML4SqybFBmUUcwgICUv0bGyHNyCR MXmOuwQXG6/yQ== From: Ard Biesheuvel To: linux-efi@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ard Biesheuvel , "James E.J. Bottomley" , Matthew Garrett , Peter Jones , Ilias Apalodimas , Heinrich Schuchardt , AKASHI Takahiro , Palmer Dabbelt , Atish Patra , Arnd Bergmann , Huacai Chen , Xi Ruoyao , Lennart Poettering , Jeremy Linton , Will Deacon , Catalin Marinas Subject: [PATCH v5 1/8] efi: name the ARCH-stub.c files uniformly Date: Sat, 10 Sep 2022 10:11:45 +0200 Message-Id: <20220910081152.2238369-2-ardb@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220910081152.2238369-1-ardb@kernel.org> References: <20220910081152.2238369-1-ardb@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1454; i=ardb@kernel.org; h=from:subject; bh=gNcwlKIVMSZfaRxtUZW3gfM7EluuDUlm60FCTCj34rE=; b=owEB7QES/pANAwAKAcNPIjmS2Y8kAcsmYgBjHEa+z9X/T/GOAznoKPIT6uoDaQJNbhOzMgOEz7ph 5xJ4tRGJAbMEAAEKAB0WIQT72WJ8QGnJQhU3VynDTyI5ktmPJAUCYxxGvgAKCRDDTyI5ktmPJMEXC/ 99eDZ7kRFLw7hQyIb10TxQTamZSmkqWEwDYdj8pxDYIY5k9SY965Nh+4a1YVT3drhfIjMkpcpr+6dJ l6ljnqRtl+j7We/awK2fbJKsG1R3xmFNK+VI+HyoT59qw9EYzL0n7nO85xTUYLIth8rZ86sw48D+rO IFcD+D9FfvtpX6UWm4fDrKtsdkkncFX1PrGlZyHbH0y3cMbgDVx4c+lFfEWcZAq4QDtcAP0gDOJbOt LEl2zPjS86/NUWaX4sVk9GSPoneIhA3m1f56jB1dUJq3laxuLuAbIO5JOvF7UHBwKfCskfNSyQyuLZ t+x7N2iiMpQ42WXMW8ycSA5q6w8aj2UW8DSrEdV9PJFA4DOkAjoq4l/UeMIK1/tYmNuWuVxYp5G0tG R3UYpdmHVJ4Vi+NOAQXt7wjEEg7IuzjOyQhyw96DB6ev7EYSsAeidhGeo93Z17jbOzkyQ6ZSGD7fJu cJ8XfOvLaEZ5V3rr7QdE/GtaeYvyK7tbK6zPkZknnT14k= X-Developer-Key: i=ardb@kernel.org; a=openpgp; fpr=F43D03328115A198C90016883D200E9CA6329909 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220910_011214_993986_8FC8AE22 X-CRM114-Status: GOOD ( 10.61 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Rename arm32-stub.c to arm-stub.c so that we can refer to all of them as $(ARCH)-stub.c Signed-off-by: Ard Biesheuvel --- drivers/firmware/efi/libstub/Makefile | 9 ++------- drivers/firmware/efi/libstub/{arm32-stub.c => arm-stub.c} | 0 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/firmware/efi/libstub/Makefile b/drivers/firmware/efi/libstub/Makefile index ec2a7ba9364f..39478fb30b2a 100644 --- a/drivers/firmware/efi/libstub/Makefile +++ b/drivers/firmware/efi/libstub/Makefile @@ -68,13 +68,8 @@ $(obj)/lib-%.o: $(srctree)/lib/%.c FORCE lib-$(CONFIG_EFI_GENERIC_STUB) += efi-stub.o fdt.o string.o \ $(patsubst %.c,lib-%.o,$(efi-deps-y)) -lib-$(CONFIG_ARM) += arm32-stub.o -lib-$(CONFIG_ARM64) += arm64-stub.o -lib-$(CONFIG_X86) += x86-stub.o -lib-$(CONFIG_RISCV) += riscv-stub.o -lib-$(CONFIG_LOONGARCH) += loongarch-stub.o - -CFLAGS_arm32-stub.o := -DTEXT_OFFSET=$(TEXT_OFFSET) +lib-y += $(ARCH)-stub.o +CFLAGS_arm-stub.o := -DTEXT_OFFSET=$(TEXT_OFFSET) # Even when -mbranch-protection=none is set, Clang will generate a # .note.gnu.property for code-less object files (like lib/ctype.c), diff --git a/drivers/firmware/efi/libstub/arm32-stub.c b/drivers/firmware/efi/libstub/arm-stub.c similarity index 100% rename from drivers/firmware/efi/libstub/arm32-stub.c rename to drivers/firmware/efi/libstub/arm-stub.c