<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/chunkeey/include/bpf.mk, branch mikrotik</title>
<subtitle>Staging tree of Christian Lamparter</subtitle>
<id>https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=mikrotik</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=mikrotik'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/'/>
<updated>2022-01-17T08:14:26Z</updated>
<entry>
<title>treewide: drop use of which</title>
<updated>2022-01-17T08:14:26Z</updated>
<author>
<name>Ansuel Smith</name>
</author>
<published>2021-11-25T01:12:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=88204bfa82f982a986d2aa3e166a4c5946040308'/>
<id>urn:sha1:88204bfa82f982a986d2aa3e166a4c5946040308</id>
<content type='text'>
Ubuntu started to flag which as deprecated and it
seems which is not really standard and may vary
across Distro.
Drop the use of which and use the standard 'command -v'
for this simple task.
Which is still present in the prereq if some package/script
still use which.
A utility script called command_all.sh is implemented that
will just mimic the output of which -a.

Signed-off-by: Ansuel Smith &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>bpf: add -mcpu=v3 to support 32-bit alu ops</title>
<updated>2021-12-21T10:29:15Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-12-20T23:28:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=c46202fb34bbf6d1e159c1a1bbdec8a9ec726285'/>
<id>urn:sha1:c46202fb34bbf6d1e159c1a1bbdec8a9ec726285</id>
<content type='text'>
Fixes JIT on 32-bit ARM and improves performance

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>bpf-headers: switch to mips64 for 64 bit targets</title>
<updated>2021-11-19T22:51:20Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-11-18T21:25:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=8f355becdf39e4a166063a887f04f7b4feb78cc0'/>
<id>urn:sha1:8f355becdf39e4a166063a887f04f7b4feb78cc0</id>
<content type='text'>
BTF pointer data has a different size on 32 vs 64 bit targets,
and while the generated eBPF code works, the BTF data fails to validate
on mismatch

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>include/bpf.mk: preserve the bpf .o file with debug symbols</title>
<updated>2021-11-19T22:51:20Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-11-18T15:47:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=98ef23dda84924e01348f2354161459a06e79e58'/>
<id>urn:sha1:98ef23dda84924e01348f2354161459a06e79e58</id>
<content type='text'>
Makes it easier to analyze verifier complaints

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>include/bpf.mk: fix typo in clang version check</title>
<updated>2021-11-12T12:15:44Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-11-12T12:15:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=959a0308e5ac3af5a27fc5c401e8e11b5d316c6f'/>
<id>urn:sha1:959a0308e5ac3af5a27fc5c401e8e11b5d316c6f</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>include/bpf.mk: check minimum required clang version</title>
<updated>2021-11-09T19:59:51Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-11-09T19:59:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=694aed607fbc0a0599f1ff951e5af280500339f9'/>
<id>urn:sha1:694aed607fbc0a0599f1ff951e5af280500339f9</id>
<content type='text'>
Avoid spurious runtime errors caused by loading eBPF modules
built with an old clang version

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>build: add support for using prebuilt LLVM toolchain</title>
<updated>2021-11-04T19:06:14Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-11-04T19:04:44Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=9f90a89655d41ba8afcd8018d7bc8b3753beb17e'/>
<id>urn:sha1:9f90a89655d41ba8afcd8018d7bc8b3753beb17e</id>
<content type='text'>
When the prebuilt llvm toolchain is unpacked into the source dir,
it is automatically picked up and used by the build system, and eBPF
based packages can be selected

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>llvm-bpf: move to staging_dir/host/llvm-bpf</title>
<updated>2021-11-04T15:55:04Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-11-02T18:38:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=a7c0d7c06c5b353c98f6db6b0b766d2ff3dd6887'/>
<id>urn:sha1:a7c0d7c06c5b353c98f6db6b0b766d2ff3dd6887</id>
<content type='text'>
This makes it easier to package it up for the download server

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>include/bpf.mk: fix compile for big-endian targets</title>
<updated>2021-11-02T09:39:37Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-11-02T09:39:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=cfb022cd5f5baea4f2e78b6f4b21bd1eca3e60ee'/>
<id>urn:sha1:cfb022cd5f5baea4f2e78b6f4b21bd1eca3e60ee</id>
<content type='text'>
llvm-opt and llc need endian flags in the target as well

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>include/bpf.mk: fix typo</title>
<updated>2021-11-02T08:56:22Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-11-02T08:56:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=ce6088bb3069762b0e211c9bd51e16847163dd86'/>
<id>urn:sha1:ce6088bb3069762b0e211c9bd51e16847163dd86</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
</feed>
