kernel.mk: Allow building external kernel modules
Here, we introduce the TARGET_EXTERNAL_KERNEL_MODULES variable for the list of external modules. Change-Id: I1f8b7a48e66bb0c9efbc396692e5a7159f0b835c
This commit is contained in:
@@ -42,6 +42,11 @@
|
||||
# TARGET_KERNEL_DTB = Name of the kernel Makefile target that
|
||||
# generates the *.dtb targets. Defaults to dtbs
|
||||
#
|
||||
# TARGET_KERNEL_EXT_MODULE_ROOT = Optional, the external modules root directory
|
||||
# Defaults to empty
|
||||
# TARGET_KERNEL_EXT_MODULES = Optional, the external modules we are
|
||||
# building. Defaults to empty
|
||||
#
|
||||
# KERNEL_TOOLCHAIN_PREFIX = Overrides TARGET_KERNEL_CROSS_COMPILE_PREFIX,
|
||||
# Set this var in shell to override
|
||||
# toolchain specified in BoardConfig.mk
|
||||
@@ -163,6 +168,10 @@ endif
|
||||
# Set the default dtb target
|
||||
TARGET_KERNEL_DTB ?= dtbs
|
||||
|
||||
# Set no external modules by default
|
||||
TARGET_KERNEL_EXT_MODULE_ROOT ?=
|
||||
TARGET_KERNEL_EXT_MODULES ?=
|
||||
|
||||
# Set use the full path to the make command
|
||||
KERNEL_MAKE_CMD := $(BUILD_TOP)/prebuilts/build-tools/$(HOST_PREBUILT_TAG)/bin/make
|
||||
|
||||
|
||||
Reference in New Issue
Block a user