From 22ca10378c399a19ea4ad322442c444daf09ea90 Mon Sep 17 00:00:00 2001 From: paul-naert Date: Thu, 14 Jun 2018 17:41:07 -0700 Subject: [PATCH] Updated description for bi-parsing --- examples/linux-kernel/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/linux-kernel/README.md b/examples/linux-kernel/README.md index 47d921c..0b874a4 100644 --- a/examples/linux-kernel/README.md +++ b/examples/linux-kernel/README.md @@ -177,4 +177,5 @@ NB3: Some default kernel modules loaded with olddefconfig cannot be compiled wit Another possibility after building the linux with gclang is running [built-in-parsing.py](built-in-parsing.py) in order to write a script that will do the extracting, copying and linking of bitcode. This script automates the script-writing process for other configs than defconfig. -Running "python built-in-parsing.py PATH_TO_NEW_SCRIPT drivers fs/ext4" from whithin the kernel folder writes the NEW_SCRIPT with the right instructions to build the kernel. +Running "python built-in-parsing.py BUILD_PATH drivers fs/ext4" from whithin the kernel folder writes a new build_script.sh with the right instructions to build the kernel in BUILD_PATH. +NB: You will have to set the gclang output file to wrapper-logs/wrapper.log and create the corresponding directory before running the python script.