Skip to content

Commit

Permalink
Include more things in the sysroot
Browse files Browse the repository at this point in the history
  • Loading branch information
jpieper committed Jun 11, 2018
1 parent d6e4534 commit 1334de5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
Binary file not shown.
Binary file not shown.
5 changes: 5 additions & 0 deletions tools/workspace/raspberry_pi/make_sysroot.py
Expand Up @@ -71,13 +71,16 @@ def main():
'librt.so*',
'libutil-2*',
'libutil.so*',
'libresolv*',
]]

usr_lib_file_sources = ['/usr/lib/{}/{}'.format(args.target, x) for x in [
'*.o',
'libc.a',
'libc_nonshared.a',
'libc.so',
'libdl.a',
'libdl.so',
'libm.a',
'libm.so',
'libpthread.a',
Expand All @@ -87,6 +90,8 @@ def main():
'librt.a',
'libutil.so',
'libutil.a',
'libresolv.a',
'libresolv.so',
]]

usr_include_file_sources = ['/usr/include/{}'.format(x) for x in [
Expand Down
2 changes: 1 addition & 1 deletion tools/workspace/raspberry_pi/repository.bzl
Expand Up @@ -40,7 +40,7 @@ filegroup(
_raspberry_pi_attrs = {
"sysroot": attr.label(
allow_files=True,
default="@rpi_bazel//tools/workspace/raspberry_pi:2018-05-30-sysroot.tar.xz"),
default="@rpi_bazel//tools/workspace/raspberry_pi:2018-06-10-sysroot.tar.xz"),
}

raspberry_pi_repository = repository_rule(
Expand Down

0 comments on commit 1334de5

Please sign in to comment.