Add makefile helper targets for enabling and disabling patchsets, then document all this
parent
60829a81f7
commit
114299e6c7
@ -0,0 +1,27 @@
|
||||
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)
|
||||
|
Loading…
Reference in New Issue