mirror of
https://github.com/danog/gllvm.git
synced 2024-12-03 13:47:52 +01:00
17 lines
287 B
Bash
17 lines
287 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
sudo pip install wllvm
|
||
|
|
||
|
cd ${HOME}
|
||
|
wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.14.39.tar.xz
|
||
|
tar xvf linux-4.14.39.tar.xz
|
||
|
cd linux-4.14.39
|
||
|
|
||
|
cp /vagrant/tinyconfig64 .config
|
||
|
|
||
|
|
||
|
make CC=wllvm HOSTCC=wllvm
|
||
|
|
||
|
extract-bc -m -b built-in.o
|
||
|
extract-bc -m vmlinux
|