| 1 |
[manifest] |
| 2 |
name = libbpf_0_2_0_beta |
| 3 |
|
| 4 |
[download] |
| 5 |
url = https://github.com/libbpf/libbpf/archive/b6dd2f2.tar.gz |
| 6 |
sha256 = 8db9dca90f5c445ef2362e3c6a00f3d6c4bf36e8782f8e27704109c78e541497 |
| 7 |
|
| 8 |
# BPF only builds on linux, so make it a NOP on other platforms |
| 9 |
[build.not(os=linux)] |
| 10 |
builder = nop |
| 11 |
|
| 12 |
[build.os=linux] |
| 13 |
builder = make |
| 14 |
subdir = libbpf-b6dd2f2b7df4d3bd35d64aaf521d9ad18d766f53/src |
| 15 |
|
| 16 |
[make.build_args] |
| 17 |
BUILD_STATIC_ONLY=y |
| 18 |
|
| 19 |
# libbpf now requires uapi headers >= 5.8 |
| 20 |
[make.install_args] |
| 21 |
install |
| 22 |
install_uapi_headers |
| 23 |
BUILD_STATIC_ONLY=y |
| 24 |
|
| 25 |
[dependencies] |
| 26 |
libelf |