You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1016 B
Plaintext
28 lines
1016 B
Plaintext
Configuring which patches are used
|
|
----------------------------------
|
|
|
|
This repository has two sets of patches - one set for the keyboard
|
|
changes and one for turning off the battery validation. The battery
|
|
patches are disabled by default, but are easy to enable.
|
|
|
|
Any combination of the two sets of patches can be enabled or disabled
|
|
(even including a version with no patches at all - to revert all changes)
|
|
|
|
There are several makefile targets that exist to help you configure which
|
|
patches are enabled. Choose one or more of the following commands to
|
|
configure as you want:
|
|
|
|
make patch_enable_battery clean
|
|
make patch_disable_battery clean
|
|
make patch_enable_keyboard clean
|
|
make patch_disable_keyboard clean
|
|
|
|
Behind the scenes
|
|
-----------------
|
|
|
|
Each hardware and EC firmware version combination needs its own set of
|
|
patches, which are stored in directories called "*.img.d" - the disable
|
|
commands are simply renaming the patch files to have a suffix of ".OFF"
|
|
(or removing that suffix to enable)
|
|
|