Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
use a separate kernel configuration for user and userdebug/eng #349
Comments
thestinger
added
Type: enhancement
Component: kernel
labels
Jul 22, 2016
thestinger
closed this
Aug 4, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment|
This is now implemented. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
stellirin
Aug 10, 2016
Perhaps a better way is to use CM's kernel.mk in /build and make use of the TARGET_KERNEL_ADDITIONAL_CONFIG option which appends to the main defconfig.
create $(KERNEL_SRC)/arch/arm64/configs/copperheados_debug_config with the extras you want, and add this to device repo:
# Enable debug on debug builds
ifneq ($(TARGET_BUILD_VARIANT),user)
TARGET_KERNEL_ADDITIONAL_CONFIG := copperheados_debug_config
endif
This also gives you inline kernel build without the need to modify the kernel as it is automatically picked up during build.
(or just copy the relevant parts to each kernel's AndroidKernel.mk.)
stellirin
commented
Aug 10, 2016
|
Perhaps a better way is to use CM's kernel.mk in create
This also gives you inline kernel build without the need to modify the kernel as it is automatically picked up during build. (or just copy the relevant parts to each kernel's |
thestinger commentedJul 22, 2016
No description provided.