LKML Archive on lore.kernel.org help / color / mirror / Atom feed
From: Nicolas Pitre <nicolas.pitre@linaro.org> To: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Linux Kbuild mailing list <linux-kbuild@vger.kernel.org>, Jarod Wilson <jarod@redhat.com>, Prarit Bhargava <prarit@redhat.com>, Michal Marek <michal.lkml@markovi.net>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org> Subject: Re: [PATCH 6/7] kbuild: move include/config/ksym/* to include/ksym/* Date: Thu, 15 Mar 2018 14:59:32 -0400 (EDT) [thread overview] Message-ID: <nycvar.YSQ.7.76.1803151450260.28583@knanqh.ubzr> (raw) In-Reply-To: <CAK7LNATS2CyFVXoN5CrqeVcNBYA09aCmyz3Bm5BZo4VJEvxONQ@mail.gmail.com> On Thu, 15 Mar 2018, Masahiro Yamada wrote: > 2018-03-15 3:47 GMT+09:00 Nicolas Pitre <nicolas.pitre@linaro.org>: > > On Thu, 15 Mar 2018, Masahiro Yamada wrote: > > > >> The idea of using fixdep was inspired by Kconfig, but autoksyms > >> is unrelated to Kconfig. So, I want to get those touched files > >> out of include/config/. The directory include/ksym/ is removed > >> by "make clean". We do not need to keep it for external module > >> building. > > > > It could be argued that include/config/ is not strictly containing > > configuration data either and is slightly misleading. > > But, slightly related to configuration, IMHO. > At least they carry timestamps that are updated > when kernel configuration is changed. Yes. But for the sake of argument, the ksym timestamps are updated only when configuration is changed too. Fundamentally they're both about dependencies, hence my naming suggestion of deps/config/ and deps/ksym/ so not to clutter the top include directory too much. > The difference between include/config/ and include/ksym/ is that > files under include/config/ are necessary for building > external modules (so should be cleaned away by mrproper) > whereas include/ksym/ is unnecessary for external modules > since vmlinux and in-kernel modules do not depend on > external modules. Agreed. > I wonder if trimming symbols makes sense for external modules. Probably not. Nicolas
next prev parent reply other threads:[~2018-03-15 18:59 UTC|newest] Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-03-14 16:44 [PATCH 0/7] kbuild: various fix, clean-up, improvements of CONFIG_TRIM_UNUSED_KSYMS Masahiro Yamada 2018-03-14 16:44 ` [PATCH 1/7] kbuild: clear LDFLAGS in the top Makefile Masahiro Yamada 2018-03-14 16:44 ` [PATCH 2/7] kbuild: touch autoksyms.h when it is really missing Masahiro Yamada 2018-03-14 17:26 ` Nicolas Pitre 2018-03-15 6:26 ` Masahiro Yamada 2018-03-14 16:44 ` [PATCH 3/7] kbuild: move 'scripts' target below Masahiro Yamada 2018-03-16 7:13 ` kbuild test robot 2018-03-16 7:20 ` Masahiro Yamada 2018-03-14 16:44 ` [PATCH 4/7] kbuild: restore touching autoksyms.h to the top Makefile Masahiro Yamada 2018-03-14 17:52 ` Nicolas Pitre 2018-03-14 16:44 ` [PATCH 5/7] kbuild: hide CONFIG_TRIM_UNUSED_KSYMS code from external module building Masahiro Yamada 2018-03-14 18:32 ` Nicolas Pitre 2018-03-15 6:36 ` Masahiro Yamada 2018-03-15 18:30 ` Nicolas Pitre 2018-03-14 16:44 ` [PATCH 6/7] kbuild: move include/config/ksym/* to include/ksym/* Masahiro Yamada 2018-03-14 18:47 ` Nicolas Pitre 2018-03-15 10:04 ` Masahiro Yamada 2018-03-15 11:01 ` Masahiro Yamada 2018-03-15 18:59 ` Nicolas Pitre [this message] 2018-03-14 16:44 ` [PATCH 7/7] kbuild: link vmlinux just once for CONFIG_TRIM_UNUSED_KSYMS Masahiro Yamada 2018-03-14 19:06 ` Nicolas Pitre 2018-03-15 8:00 ` Masahiro Yamada 2018-03-15 18:50 ` Nicolas Pitre
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=nycvar.YSQ.7.76.1803151450260.28583@knanqh.ubzr \ --to=nicolas.pitre@linaro.org \ --cc=jarod@redhat.com \ --cc=linux-kbuild@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=michal.lkml@markovi.net \ --cc=prarit@redhat.com \ --cc=yamada.masahiro@socionext.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).