On Thu, Feb 16, 2017 at 10:34 AM, Raffaele Belardi
<raffaele.bela...@st.com> wrote:
> Alexander Kapshuk wrote:
>> As far as generating a custom config file based on what modules are
>> loaded, you could try "make localmodconfig":
>> It's purpose is described here,
>> https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/plain/README?id=refs/tags/v4.9.9:
>> Create a config based on current config and  loaded modules (lsmod).
>> Disables any module option that is not needed for the loaded modules.
>> To generate a custom config for a given architecture, "make defconfig"
>> might be a good way to start.
>> Create a ./.config file by using the default symbol values from either
>> arch/$ARCH/defconfig or arch/$ARCH/configs/${PLATFORM}_defconfig,
>> depending on the architecture.
> Thanks, I've always build my own kernel but was never sure I did include all
> the basic options, I'll try with defconfig. Also the localmodconfig is a
> good hint, there's always something to know with Linux.
> raffaele

No worries.

Reply via email to