[lfs-support] 8.1-systemd Ch. 8.3 Linux-4.12.7: Error during make?
hazeldebian at googlemail.com
Thu Sep 21 00:08:55 PDT 2017
On Wed, 20 Sep 2017 10:40:49 -0600
Hans Malissa <hmalissa at me.com> wrote:
> ‘make defconfig’ did a very good job, thanks for the advice. My idea of using .config of the host distribution was completely wrong. LFS is up and running now, and booting is much faster than with my host distribution.
> I still wonder where the error message came from - I was assuming that the kernel should compile in either case after using the standard configuration tools.
> Regarding the (working) configuration that is a result of ‘make defconfig’ and customization with ‘make menuconfig’, I have two questions:
> - How do I know if one or more modules/configuration settings are missing (even though the kernel runs)?
> - How can I tell whether there are extra modules or options turned on that are not really used in my system?
> Thanks a lot,
Test out all your hardware. If everything works, you can't have omitted anything important.
There are some software packages that require certain kernel options to be set. The relevant blfs page will tell you about these. It's not uncommon in LFS to have to rebuild a kernel to accommodate a software package requirement.
The only way to test for excess options is to build an experimental kernel without that option and see if it works. But unless you have an embedded system with tight space requirements, it probably isn't worth the trouble.
More information about the lfs-support