From patchwork Sun Dec 12 19:29:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 12672561 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 29766C433F5 for ; Sun, 12 Dec 2021 19:31:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229907AbhLLTbE (ORCPT ); Sun, 12 Dec 2021 14:31:04 -0500 Received: from conuserg-08.nifty.com ([210.131.2.75]:25054 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229600AbhLLTbC (ORCPT ); Sun, 12 Dec 2021 14:31:02 -0500 Received: from grover.. (133-32-232-101.west.xps.vectant.ne.jp [133.32.232.101]) (authenticated) by conuserg-08.nifty.com with ESMTP id 1BCJTqAk000552; Mon, 13 Dec 2021 04:29:52 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com 1BCJTqAk000552 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1639337393; bh=FXw958wyo8ETkKfX7PUkbCcYnUmIcy1cqQ//+4bN/Sg=; h=From:To:Cc:Subject:Date:From; b=ohvtGUFWSUwc68OTx4V2VSL2Wv0mzlcaItMXt9jwLUaF37y0y5w++Hdivpi6k8cgz 96UrTLG0976RF4BOZrskI2YFO7GJcwbVMIOsHgqei7Ikn2o774YMePwh7y5izqUokg CM7vSOxLPHo1LhvsfCOImQlYbnRzAirsTYvDqDKMXfzrlVhrkH3IyGiTW7fyjG9xbG YaGLO2pExbYrar9c6TQUHzJBdUcz1e4kQyoJySslYGnzo0WkOiYsNnKxxv9L+rsN9w tWYebiiak+JP/IvuNV2UB/8Zh2bcuwiqEESoUaLYux/i/xNJTvwaoHv/R27ZerMBBS TaXme7Ke5Dxuw== X-Nifty-SrcIP: [133.32.232.101] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Michal Simek , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, David Howells , David Woodhouse , keyrings@vger.kernel.org, Richard Weinberger , Masahiro Yamada Subject: [PATCH 00/10] kbuild: do not quote string values in Makefile Date: Mon, 13 Dec 2021 04:29:31 +0900 Message-Id: <20211212192941.1149247-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: keyrings@vger.kernel.org This patch refactors the code as outlined in: https://lore.kernel.org/linux-kbuild/CAK7LNAR-VXwHFEJqCcrFDZj+_4+Xd6oynbj_0eS8N504_ydmyw@mail.gmail.com/ First some patches refactor certs/Makefile. This Makefile is written in a too complicated way. I will revert cd8c917a56f20f48748dd43d9ae3caff51d5b987 after this lands in the upstream. Masahiro Yamada (10): certs: use $@ to simplify the key generation rule certs: unify duplicated cmd_extract_certs and improve the log certs: remove unneeded -I$(srctree) option for system_certificates.o certs: refactor file cleaning certs: remove misleading comments about GCC PR kbuild: stop using config_filename in scripts/Makefile.modsign certs: simplify $(srctree)/ handling and remove config_filename macro kbuild: do not include include/config/auto.conf from shell scripts kbuild: do not quote string values in include/config/auto.conf microblaze: use built-in function to get CPU_{MAJOR,MINOR,REV} Makefile | 6 +-- arch/arc/Makefile | 4 +- arch/arc/boot/dts/Makefile | 4 +- arch/h8300/boot/dts/Makefile | 6 +-- arch/microblaze/Makefile | 8 ++-- arch/nds32/boot/dts/Makefile | 7 +-- arch/nios2/boot/dts/Makefile | 2 +- arch/openrisc/boot/dts/Makefile | 7 +-- arch/powerpc/boot/Makefile | 2 +- arch/riscv/boot/dts/canaan/Makefile | 4 +- arch/sh/boot/dts/Makefile | 4 +- arch/xtensa/Makefile | 2 +- arch/xtensa/boot/dts/Makefile | 5 +- certs/Makefile | 48 ++++++------------- drivers/acpi/Makefile | 2 +- drivers/base/firmware_loader/builtin/Makefile | 4 +- init/Makefile | 2 +- net/wireless/Makefile | 4 +- scripts/Kbuild.include | 47 ------------------ scripts/Makefile.modinst | 4 +- scripts/gen_autoksyms.sh | 6 +-- scripts/kconfig/confdata.c | 2 +- scripts/link-vmlinux.sh | 47 +++++++++--------- scripts/setlocalversion | 9 ++-- usr/Makefile | 2 +- 25 files changed, 74 insertions(+), 164 deletions(-)