2,599
edits
Efernandez (talk | contribs) |
Efernandez (talk | contribs) |
||
Line 128: | Line 128: | ||
</pre> | </pre> | ||
3) | 3) Create and apply the necessary patches | ||
3.a) Go to the sources directory: | |||
<pre> | |||
cd $DEVDIR/sources/ | |||
</pre> | |||
3.b) Create a patches folder: | |||
<pre> | |||
mkdir patches | |||
cd patches | |||
</pre> | |||
3.c) Create a '''0001-fix_build_errors.patch''' | |||
<pre> | <pre> | ||
touch 0001-fix_build_errors.patch | |||
</pre> | </pre> | ||
and paste the following content on it: | |||
<syntaxhighlight lang=diff> | <syntaxhighlight lang=diff> | ||
Line 211: | Line 226: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
5) Configure your kernel | 3.d) Create a '''series''' file: | ||
<pre> | |||
touch series | |||
</pre> | |||
and paste the following content on it: | |||
<pre> | |||
0001-fix_build_errors.patch | |||
</pre> | |||
'''Note:''' Make sure you have an empty line at the end of the file | |||
3.e) Apply the patch: | |||
<pre> | |||
cd $DEVDIR/sources/ | |||
quilt push -a | |||
</pre> | |||
'''Note:''' If you don't have quilt installed you can get it by running: | |||
<pre> | |||
sudo apt-get install quilt | |||
</pre> | |||
4) Clean your kernel and configuration | |||
<pre> | |||
cd $DEVDIR/sources/kernel/kernel-4.4 | |||
make mrproper | |||
</pre> | |||
5) Configure your kernel: | |||
* '''For TX1''' | * '''For TX1''' |