mirror of
https://github.com/danog/gllvm.git
synced 2024-11-30 08:39:03 +01:00
19 lines
335 B
Bash
Executable File
19 lines
335 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
### building from a git clone with wllvm
|
|
|
|
sudo pip install wllvm
|
|
|
|
cd ${HOME}
|
|
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
|
|
|
|
cd linux-stable
|
|
git checkout tags/v4.14.39
|
|
cp /vagrant/tinyconfig64 .config
|
|
|
|
|
|
make CC=wllvm HOSTCC=wllvm
|
|
|
|
extract-bc -m -b built-in.o
|
|
extract-bc -m vmlinux
|