2018-05-23 02:16:53 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
### Copy vmlinux into the bootable linux folder and install the new kernel
|
2018-05-25 02:41:49 +02:00
|
|
|
cp $HOME/standalone-build/vmlinux $HOME/linux-stable/
|
2018-05-23 02:16:53 +02:00
|
|
|
|
2018-05-25 02:41:49 +02:00
|
|
|
cd $HOME/linux-stable
|
2018-05-23 02:16:53 +02:00
|
|
|
|
2018-05-25 02:41:49 +02:00
|
|
|
scripts/sortextable vmlinux
|
2018-05-23 02:16:53 +02:00
|
|
|
nm -n vmlinux | grep -v '\( [aNUw] \)\|\(__crc_\)\|\( \$[adt]\)\|\( .L\)' > System.map
|
2018-05-25 02:41:49 +02:00
|
|
|
make CC=gclang HOSTCC=gclang
|
2018-05-23 02:20:00 +02:00
|
|
|
sudo make modules_install install
|