Skip to content

Commit 78c7185

Browse files
committed
fixed built-in-parsing
1 parent 4b7c2e9 commit 78c7185

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/linux-kernel/built-in-parsing.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ def write_script(excluded_paths, depth, base_dir):
118118
write_script(excluded,0,"")
119119

120120
# Dealing with both lib files
121-
out.writelines("get-bc -b $build_home/lib/lib.a \n ")
121+
out.writelines("get-bc -b lib/lib.a \n")
122+
out.writelines("mkdir $build_home/lib")
122123
out.writelines("cp lib/lib.a.bc $build_home/lib \n")
123124
out.writelines("clang -c -no-integrated-as -mcmodel=kernel -o $build_home/lib/lib.a.o $build_home/lib/lib.a.bc \n")
124125

0 commit comments

Comments
 (0)