0
I'm in the beginning stages of using a cross compiler (ELDK) to build an embedded Linux system from the kernel source. The Kernel is built successfully with make ARCH=powerpc CROSS_COMPILE=powerpc-linux- 44x/virtex5_defconfig
and make ARCH=powerpc CROSS_COMPILE=powerpc-linux- uImage
.
I'd like to include built-in modules at this stage compiled on my host machine. I run
make ARCH=powerpc CROSS_COMPILE=powerpc-linux- modules
make ARCH=powerpc CROSS_COMPILE=powerpc-linux- INSTALL_MOD_PATH=/opt/eldk-5.8/powerpc-4xx modules_install
and see that default modules included with the kernal are built and installed to the specified directory.
My question is how do I define which modules are built and installed with these latter two commands? I'd like to both exclude some of the default modules and include additional modules that from separate source code, like coreutils.
Thanks for any help you could provide.
You need to read the kernel README file in the source code on the build procedure, i.e. it's
make menuconfig
. FYI theARCH
andCROSS_COMPILE
symbols can be defined as shell environment variables so you don't have to type them in eachmake
command (i.e.export ARCH=powerpc
). – sawdust – 2017-11-13T19:54:18.217