gllvm/examples/linux-kernel/build_linux_gllvm_git.sh

18 lines
345 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2018-05-07 18:41:38 +02:00
### building from a git clone with gllvm
go get github.com/SRI-CSL/gllvm/cmd/...
cd ${HOME}
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
cd linux-stable
2018-05-07 20:34:36 +02:00
git checkout tags/v4.14.39
cp /vagrant/tinyconfig64 .config
make CC=gclang HOSTCC=gclang
get-bc -m -b built-in.o
get-bc -m vmlinux