From patchwork Tue Mar 31 16:28:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 11468091 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 91ED981 for ; Tue, 31 Mar 2020 16:29:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 659A220784 for ; Tue, 31 Mar 2020 16:29:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585672141; bh=ecHvyzUCb7CUgd4iIHn/dI5TLVROD9lhdHxA2TwcXB8=; h=From:Date:Subject:To:Cc:List-ID:From; b=AVJPI8eV3/ZhEmwrWaBpzW+27JDrdsuP426I1/lrg6ZamVJs/hhpPyIGh1b4TJxWg 1dgQY/d6yCLtac8jAEQ9BpVd8eg429QYP0aD/oYa+Ix7Rs208ic5O9tt2Ng7+tMPQr OI4je5Htw3cjf5H3Zi/cRUb7bXzjV+HGIhltmnLk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726595AbgCaQ3B (ORCPT ); Tue, 31 Mar 2020 12:29:01 -0400 Received: from conssluserg-06.nifty.com ([210.131.2.91]:53914 "EHLO conssluserg-06.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726194AbgCaQ3A (ORCPT ); Tue, 31 Mar 2020 12:29:00 -0400 Received: from mail-ua1-f47.google.com (mail-ua1-f47.google.com [209.85.222.47]) (authenticated) by conssluserg-06.nifty.com with ESMTP id 02VGSrH7026484; Wed, 1 Apr 2020 01:28:53 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com 02VGSrH7026484 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1585672135; bh=t1XwGiWQmOMcbXjga9sZIFRr/0QdosZTp+vIihHAmFU=; h=From:Date:Subject:To:Cc:From; b=knqbp3b5R7jU9lCrwZf00Yp3xvxCPwfyDlm8cMpkiFuZvAPL/7SA95g/lfKdAAP6B IUOYs6V8mKfEuXEcHwMHg0BQVvnKQ7JlxDVBGlliIkBkf5doKN4iiz5KQxOGt5i6sR vIFC2QBcaVSnSOP+vPe7eGN0H7WZdYNaKLHtSxnto6ZWSxACaVgaSSJkYl2MDGGzAS cq3relJm/z0/JfGU5qdpZ4s34lcZvUhIhn9/5i41gwopXBURx8/JUPMUbINEOE8Lyg MN+fMngMuIhDm+6CgYAio2Ta214w8b7BDBjmawMV9B7cPiinTAcqgWruup17RGKZt+ e3DL6Ds3S9T0Q== X-Nifty-SrcIP: [209.85.222.47] Received: by mail-ua1-f47.google.com with SMTP id v24so7930188uak.0; Tue, 31 Mar 2020 09:28:53 -0700 (PDT) X-Gm-Message-State: AGi0PubXqyuqSR4ZReXdNqN1B4q5iLxgAvWcN/mpVismgQubAQyTBaIt mUxfqgDi5Yj45D9F4wJxJXTocl9F9F6WIdI6sEk= X-Google-Smtp-Source: APiQypI7xaeWsdCYgs3Umd0rW6pYwcq100Ledn+4KFcELal2dMuZCaIWPRBxzbv7vCoBQ+svv+4Np6UR8gatz3qhsow= X-Received: by 2002:a9f:32da:: with SMTP id f26mr4299873uac.40.1585672132587; Tue, 31 Mar 2020 09:28:52 -0700 (PDT) MIME-Version: 1.0 From: Masahiro Yamada Date: Wed, 1 Apr 2020 01:28:16 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: [GIT PULL] Kbuild updates for v5.7-rc1 To: Linus Torvalds Cc: Linux Kernel Mailing List , Linux Kbuild mailing list Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org Hi Linus, Please pull Kbuild updates for v5.7-rc1. (This the first batch. I will send one more pull request next week, as you know, we have CONFIG_AS_* cleanups queued up in linux-next.) You will see a trivial merge conflict in Documentation/kbuild/index.rst, which is resolved in linux-next. The following changes since commit 98d54f81e36ba3bf92172791eba5ca5bd813989b: Linux 5.6-rc4 (2020-03-01 16:38:46 -0600) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git tags/kbuild-v5.7 for you to fetch changes up to e51d8dacf2724ebb8eda8ec69dd81da4f70a4213: Makefile: Update kselftest help information (2020-04-01 01:05:04 +0900) ---------------------------------------------------------------- Kbuild updates for v5.7 [Build system] - add CONFIG_UNUSED_KSYMS_WHITELIST, which will be useful to define a fixed set of export symbols for Generic Kernel Image (GKI) - allow to run 'make dt_binding_check' without .config - use full schema for checking DT examples in *.yaml files - make modpost fail for missing MODULE_IMPORT_NS(), which makes more sense because we know the produced modules are never loadable - Remove unused 'AS' variable [Kconfig] - sanitize DEFCONFIG_LIST, and remove ARCH_DEFCONFIG from Kconfig files - relax the 'imply' behavior so that symbols implied by y can become m - make 'imply' obey 'depends on' in order to make 'imply' really weak [Misc] - add documentation on building the kernel with Clang/LLVM - revive __HAVE_ARCH_STRLEN for 32bit sparc to use optimized strlen() - fix warning from deb-pkg builds when CONFIG_DEBUG_INFO=n - various script and Makefile cleanups ---------------------------------------------------------------- David Engraf (1): kbuild: add outputmakefile to no-dot-config-targets Jessica Yu (2): modpost: rework and consolidate logging interface modpost: return error if module is missing ns imports and MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS=n Masahiro Yamada (22): kbuild: remove the owner check in mkcompile_h kbuild: remove cc-option switch from -Wframe-larger-than= fixdep: remove unneeded code and comments about *.ver files fixdep: remove redundant null character check kbuild: remove trailing slash from devicetree/binding/ for descending kbuild: use KBUILD_DEFCONFIG as the fallback for DEFCONFIG_LIST kbuild: avoid concurrency issue in parallel building dtbs and dtbs_check kbuild: allow to run dt_binding_check and dtbs_check in a single command kbuild: allow to run dt_binding_check without kernel configuration net: drop_monitor: use IS_REACHABLE() to guard net_dm_hw_report() kconfig: allow symbols implied by y to become m kconfig: make 'imply' obey the direct dependency kbuild: compute the dtbs_install destination more simply kbuild: refactor Makefile.dtbinst more sparc: revive __HAVE_ARCH_STRLEN for 32bit sparc kconfig: remove unused variable in qconf.cc kbuild: add -Wall to KBUILD_HOSTCXXFLAGS kbuild: add comment about grouped target net: wan: wanxl: use allow to pass CROSS_COMPILE_M68k for rebuilding firmware net: wan: wanxl: use $(M68KCC) instead of $(M68KAS) for rebuilding firmware net: wan: wanxl: refactor the firmware rebuild rule kbuild: remove AS variable Nick Desaulniers (1): Documentation/llvm: add documentation on building w/ Clang/LLVM Quentin Perret (3): kbuild: allow symbol whitelisting with TRIM_UNUSED_KSYMS kbuild: split adjust_autoksyms.sh in two parts kbuild: generate autoksyms.h early Reinhard Karcher (1): kbuild: deb-pkg: fix warning when CONFIG_DEBUG_INFO is unset Rob Herring (2): kbuild: Always validate DT binding examples kbuild: Build DT binding examples with dtc warnings enabled Sergei Trofimovich (1): Makefile: disallow data races on gcc-10 as well Shuah Khan (1): Makefile: Update kselftest help information Documentation/Makefile | 3 +- Documentation/devicetree/bindings/.gitignore | 2 +- Documentation/devicetree/bindings/Makefile | 32 +++++++++------ Documentation/devicetree/writing-schema.rst | 4 ++ Documentation/kbuild/index.rst | 1 + Documentation/kbuild/kconfig-language.rst | 27 +++++++++++-- Documentation/kbuild/llvm.rst | 80 +++++++++++++++++++++++++++++++++++++ MAINTAINERS | 1 + Makefile | 55 +++++++++++++++++--------- arch/sh/Kconfig | 5 --- arch/sparc/Kconfig | 5 --- arch/sparc/include/asm/string.h | 4 ++ arch/sparc/include/asm/string_64.h | 4 -- arch/x86/Kconfig | 5 --- arch/x86/um/Kconfig | 5 --- drivers/net/wan/Kconfig | 2 +- drivers/net/wan/Makefile | 35 +++++++++++------ include/net/drop_monitor.h | 2 +- init/Kconfig | 16 +++++++- lib/Kconfig.debug | 3 +- scripts/Makefile.dtbinst | 26 ++++++------ scripts/Makefile.lib | 3 +- scripts/Makefile.modpost | 15 +++---- scripts/adjust_autoksyms.sh | 24 ++--------- scripts/basic/fixdep.c | 10 +---- scripts/dtc/Makefile | 5 ++- scripts/gcc-plugins/Makefile | 2 +- scripts/gen_autoksyms.sh | 52 ++++++++++++++++++++++++ scripts/kconfig/Makefile | 4 -- scripts/kconfig/qconf.cc | 2 - scripts/kconfig/symbol.c | 9 ++--- scripts/mkcompile_h | 11 ------ scripts/mod/modpost.c | 83 +++++++++++++++++++-------------------- scripts/mod/modpost.h | 14 +++++-- scripts/package/mkdebian | 5 +++ 35 files changed, 356 insertions(+), 200 deletions(-) create mode 100644 Documentation/kbuild/llvm.rst create mode 100755 scripts/gen_autoksyms.sh