168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
|
}
say "commencing libk build $build at $(timestamp)"
# set -x
# get type data
mkdir -p $gen
$cc -D_emit_m4_include arch/typesize.c -o $gen/typesize
$gen/typesize > gen/typesize.m
# generate syscall tables
if test $posix = yes; then
# on posix, we simply abuse CPP to garner a list of syscalls;
# the file arch/posix/syscalls contains a list of syscalls
# we wish to import; we use sed to transform this into a form
|
|
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
|
}
say "commencing libk build $build at $(timestamp)"
# set -x
# get type data
mkdir -p $gen
report $cc -D_emit_m4_include arch/typesize.c -o $gen/typesize
$gen/typesize > gen/typesize.m
# generate syscall tables
if test $posix = yes; then
# on posix, we simply abuse CPP to garner a list of syscalls;
# the file arch/posix/syscalls contains a list of syscalls
# we wish to import; we use sed to transform this into a form
|