Skip to content
Commit dfaaf2f0 authored by Thomas Abraham's avatar Thomas Abraham
Browse files

build-linux: add support to build kernel modules



Add the kernel module build support into the linux kernel component build
script. The kernel module build can be enabled in the platform's config file by
adding a build config as

	LINUX_foo[modules]="true"

where 'foo' is the linux build configuration name. For instance, if 'defconfig'
is the linux build configuration name, the platform config file can enable
module build for defconfig using

	LINUX_defconfig[modules]="true"

If kernel module compilation is not required for the build, either mark the
config option as 'false' (LINUX_foo[modules]="false") or do not add this entry
in the platform configuration file.

If kernel module compilation is enabled, the package stage copies the compiled
kernel modules to "output/<platform>/components/linux/modules/"

Change-Id: I3a114d61dc61805efab9ed43536cb6d07e98609d
Signed-off-by: Thomas Abraham's avatarThomas Abraham <thomas.abraham@arm.com>
parent b83ddf86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment