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