On Mon, Jan 18, 2016 at 3:48 AM, David Keaney <[email protected]> wrote:
> I have built a basic kernel following the Mailine Kernel Howto and have it
> working on my board but now I'm trying to compile a kernel
> with 'Enable loadable module support' enabled and this is where I'm running
> into problems.
>
> The kernel compiles ok but when it gets to building the modules I get the
> following output with no modules in the output folder
>
>
> ~/linux$ ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- INSTALL_MOD_PATH=output
> make modules modules_install
>  CHK     include/config/kernel.release
>    CHK     include/generated/uapi/linux/version.h
>    CHK     include/generated/utsrelease.h
>  make[1]: `include/generated/mach-types.h' is up to date.
>    CC      kernel/bounds.s
>    CHK     include/generated/bounds.h
>    CC      arch/arm/kernel/asm-offsets.s
>    CHK     include/generated/asm-offsets.h
>    CALL    scripts/checksyscalls.sh
>    CHK     include/generated/compile.h
>    CHK     kernel/config_data.h
>    Building modules, stage 2.
>    MODPOST 0 modules
>    DEPMOD  4.1.0-rc7-00061-g2bfc60d
>  ~/linux$
>
>
> Host Machine: Ubuntu 14.04
> gcc version: 4.8.4
>
> Is there anything else I need to do other then just enabling loadable module
> support

You have to specify which drivers you want to build as modules.
In menuconfig, things that can be built as modules (known as tri-state in
Kconfig) have their option in <> angle brackets, while non-module ones are
in [] square brackets. If a driver is to be built as a module, the option
would say <M>.

This is basic kernel compiling. There should be a ton of guides on the
Internet.

ChenYu

> Any help would be greatly appreciated
>
> --
> You received this message because you are subscribed to the Google Groups
> "linux-sunxi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to