mirror of
https://github.com/danog/gllvm.git
synced 2024-11-26 23:34:51 +01:00
12 lines
352 B
Bash
Executable File
12 lines
352 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
### Copy vmlinux into the bootable linux folder and install the new kernel
|
|
cp $HOME/standalone-build/vmlinux $HOME/linux-stable/
|
|
|
|
cd $HOME/linux-stable
|
|
|
|
scripts/sortextable vmlinux
|
|
nm -n vmlinux | grep -v '\( [aNUw] \)\|\(__crc_\)\|\( \$[adt]\)\|\( .L\)' > System.map
|
|
make CC=gclang HOSTCC=gclang
|
|
sudo make modules_install install
|