From patchwork Mon Apr 27 00:30:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 11511053 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8BCF5112C for ; Mon, 27 Apr 2020 00:32:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 69356206A5 for ; Mon, 27 Apr 2020 00:32:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587947543; bh=Tu1a0Zvu15U3Sg++Y3IQJB7ywKNRmfwbTCLFTWgEf2U=; h=From:To:Cc:Subject:Date:List-ID:From; b=P9yqdzbvZ+Gp8Yk+vv81YRzs/EDnS860RVQyAqpPidzQsWTUf5QcRVeO5UiGaG8gm TulwyT/EVoD/8vqih/ahnvFmpp6KOt7VRjD9bdffO7dJBqU1eG3KSVxs+oQjV1QvPt SM/TGzwS+GuTW7nTmiR8PFPLRkAc+pUQFw4pgjvA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726296AbgD0AcX (ORCPT ); Sun, 26 Apr 2020 20:32:23 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:33302 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726227AbgD0AcX (ORCPT ); Sun, 26 Apr 2020 20:32:23 -0400 Received: from oscar.flets-west.jp (softbank126090202047.bbtec.net [126.90.202.47]) (authenticated) by conuserg-09.nifty.com with ESMTP id 03R0UU6B004529; Mon, 27 Apr 2020 09:30:30 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com 03R0UU6B004529 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1587947431; bh=/hnzYFLI9+qR1davcKYHLKruhyO2aUJ2eWiG1hDurfQ=; h=From:To:Cc:Subject:Date:From; b=T3RySsHK8hJijhax1EOM8uNKiEbMvrRhOJ9gaeG1NRoey93aTWPkoyqCDgR0XmsHJ De4ebIvjWZeobnHaElfetMZoeMmbK6lvP5novgD+JcjdyAQ6KbzLBBcgY90tDqHjDc lwkjQSHl1ct++HGoUYlTVNS7JgK3X9OpZrxhS/4EI7tccSZeJk6/NgS84TjhdxDAez Gis1QU1rgOW4/otBN2DS45iD6AI8aDrHkw6Qly6o1cDKiIztE8YJ4dbhR5vlwzvWXd GVcfJzbQCLETTJxnYUWPC9aygE8t+p9MO0qBPDUlrfDO0pasiMIfyCzpIWXQdioPrF bha6OjcZpRuPA== X-Nifty-SrcIP: [126.90.202.47] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Masahiro Yamada , Ard Biesheuvel , Arnd Bergmann , Catalin Marinas , Joel Stanley , Linus Walleij , Nathan Chancellor , Nathan Huckleberry , Nick Desaulniers , Russell King , Will Deacon , linux-kernel@vger.kernel.org Subject: [PATCH] kbuild: remove unused AS assignment Date: Mon, 27 Apr 2020 09:30:19 +0900 Message-Id: <20200427003019.2401592-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org $(AS) is not used anywhere, hence commit aa824e0c962b ("kbuild: remove AS variable") killed it. Remove the left-over code in arch/{arm,arm64}/Makefile. Signed-off-by: Masahiro Yamada Reviewed-by: Nathan Chancellor Acked-by: Will Deacon --- arch/arm/Makefile | 2 -- arch/arm64/Makefile | 2 -- 2 files changed, 4 deletions(-) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 7d5cd0f85461..cd28211f1418 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -45,12 +45,10 @@ endif ifeq ($(CONFIG_CPU_BIG_ENDIAN),y) KBUILD_CPPFLAGS += -mbig-endian CHECKFLAGS += -D__ARMEB__ -AS += -EB KBUILD_LDFLAGS += -EB else KBUILD_CPPFLAGS += -mlittle-endian CHECKFLAGS += -D__ARMEL__ -AS += -EL KBUILD_LDFLAGS += -EL endif diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index 85e4149cc5d5..d86cc9137539 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -84,7 +84,6 @@ KBUILD_CFLAGS += $(branch-prot-flags-y) ifeq ($(CONFIG_CPU_BIG_ENDIAN), y) KBUILD_CPPFLAGS += -mbig-endian CHECKFLAGS += -D__AARCH64EB__ -AS += -EB # Prefer the baremetal ELF build target, but not all toolchains include # it so fall back to the standard linux version if needed. KBUILD_LDFLAGS += -EB $(call ld-option, -maarch64elfb, -maarch64linuxb) @@ -92,7 +91,6 @@ UTS_MACHINE := aarch64_be else KBUILD_CPPFLAGS += -mlittle-endian CHECKFLAGS += -D__AARCH64EL__ -AS += -EL # Same as above, prefer ELF but fall back to linux target if needed. KBUILD_LDFLAGS += -EL $(call ld-option, -maarch64elf, -maarch64linux) UTS_MACHINE := aarch64