From 78c71852be8fa01645a9341532367c96ea454003 Mon Sep 17 00:00:00 2001 From: paul-naert Date: Fri, 25 May 2018 16:03:58 -0700 Subject: [PATCH] fixed built-in-parsing --- examples/linux-kernel/built-in-parsing.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/linux-kernel/built-in-parsing.py b/examples/linux-kernel/built-in-parsing.py index 869dc91..e1f8b05 100644 --- a/examples/linux-kernel/built-in-parsing.py +++ b/examples/linux-kernel/built-in-parsing.py @@ -118,7 +118,8 @@ archbi=["lib","pci","video","power"] write_script(excluded,0,"") # Dealing with both lib files -out.writelines("get-bc -b $build_home/lib/lib.a \n ") +out.writelines("get-bc -b lib/lib.a \n") +out.writelines("mkdir $build_home/lib") out.writelines("cp lib/lib.a.bc $build_home/lib \n") out.writelines("clang -c -no-integrated-as -mcmodel=kernel -o $build_home/lib/lib.a.o $build_home/lib/lib.a.bc \n")