<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/xback/include, branch master</title>
<subtitle>Staging tree of Koen Vandeputte</subtitle>
<id>https://git.openwrt.org/openwrt/staging/xback/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/xback/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/'/>
<updated>2026-11-21T02:34:02Z</updated>
<entry>
<title>netfilter: add missing symbol to kmod-ebtables</title>
<updated>2026-11-21T02:34:02Z</updated>
<author>
<name>Stijn Tintel</name>
</author>
<published>2026-01-30T17:05:20Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=8fb1f712d80c1d493eb2b3f665a6eea064ed67d4'/>
<id>urn:sha1:8fb1f712d80c1d493eb2b3f665a6eea064ed67d4</id>
<content type='text'>
Linux 6.18 requires CONFIG_BRIDGE_NF_EBTABLES_LEGACY to build ebtables.ko.
Add the missing symbol to the module mapping used by kmod-ebtables.

Signed-off-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
</content>
</entry>
<entry>
<title>netfilter: add missing symbol to kmod-nf-ipt</title>
<updated>2026-11-21T02:33:54Z</updated>
<author>
<name>Stijn Tintel</name>
</author>
<published>2026-01-30T17:00:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=2438ad8e28eba33a517f18c9a77ad695e14d720e'/>
<id>urn:sha1:2438ad8e28eba33a517f18c9a77ad695e14d720e</id>
<content type='text'>
When kmod-nf-ipt is enabled, but kmod-ipt-core and kmod-nf-nat are not,
build fails due to a missing kernel module:

ERROR: module '/home/stijn/Development/OpenWrt/openwrt/build_dir/target-arm_arm1176jzf-s+vfp_musl_eabi/linux-bcm27xx_bcm2708/linux-6.12.54/net/ipv4/netfilter/ip_tables.ko' is missing.

Fix this by adding the CONFIG_IP_NF_IPTABLES_LEGACY symbol.

Signed-off-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
</content>
</entry>
<entry>
<title>netfilter: add missing symbol to kmod-nf-ipt6</title>
<updated>2026-11-21T02:30:52Z</updated>
<author>
<name>Stijn Tintel</name>
</author>
<published>2026-01-30T16:52:31Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=58762f95719a8abc44aed6d4e72e59f49f0c250c'/>
<id>urn:sha1:58762f95719a8abc44aed6d4e72e59f49f0c250c</id>
<content type='text'>
When kmod-nf-ipt6 is enabled, but kmod-ip6tables and kmod-ipt-nat are
not, build fails due to a missing kernel module:

ERROR: module '/home/stijn/Development/OpenWrt/openwrt/build_dir/target-powerpc64_e5500_musl/linux-qoriq_generic/linux-6.12.67/net/ipv6/netfilter/ip6_tables.ko' is missing.

Fix this by adding the CONFIG_IP6_NF_IPTABLES_LEGACY symbol.

Signed-off-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
</content>
</entry>
<entry>
<title>netfilter: add kmod-nf-xtables</title>
<updated>2026-11-21T01:41:19Z</updated>
<author>
<name>Stijn Tintel</name>
</author>
<published>2026-01-30T11:51:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=ee0cdcee02b0b116ddad6ccbae140ac88a263fa9'/>
<id>urn:sha1:ee0cdcee02b0b116ddad6ccbae140ac88a263fa9</id>
<content type='text'>
When building nftables-only images, with all iptables related packages
disabled, NETFILTER_XTABLES is not enabled in the kernel, as it is
enabled by kmod-ipt-core and kmod-nf-ipt.

This makes it impossible to build e.g. kmod-nf-nathelper-rtsp from the
xtables-addon package in the packages feed, without enabling unneeded
packages.

Add a new package kmod-nf-xtables that packages both the kernel modules
that are built when NETFILTER_XTABLES is enabled in the kernel, and add
dependencies to the new package in kmod-ipt-core, kmod-nf-ipt and
kmod-nft-compat.

Signed-off-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
</content>
</entry>
<entry>
<title>build: add FEED_DEVICE_PACKAGES</title>
<updated>2026-11-14T13:26:19Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2026-11-13T12:43:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=3931d4d6509dc9f03a28c566e1a74ecf4b0c9339'/>
<id>urn:sha1:3931d4d6509dc9f03a28c566e1a74ecf4b0c9339</id>
<content type='text'>
A device can list a feed package in DEVICE_PACKAGES. If the feeds are
not installed, a build with a per-device rootfs fails, as apk cannot
find the package.

Packages in FEED_DEVICE_PACKAGES are selected by default in the same
way. A per-device rootfs build installs only those that exist and prints
a warning for each of the others.

Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
</content>
</entry>
<entry>
<title>build: create CONTROL before writing files-sha256sum</title>
<updated>2026-11-01T10:40:56Z</updated>
<author>
<name>Josef Schlehofer</name>
</author>
<published>2026-10-28T08:03:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=382a2109c849a45873aa908b4912fab667f603a0'/>
<id>urn:sha1:382a2109c849a45873aa908b4912fab667f603a0</id>
<content type='text'>
Since APK support was added, the CONTROL directory is created only after
the checksum step. With IPK_FILES_CHECKSUMS enabled, redirecting output
to CONTROL/files-sha256sum fails for packages that do not create CONTROL
themselves. The error is hidden by "|| true", so these packages are built
without checksums and pkg_check skips them. Only base-files still gets
the file.

Create the directory before writing the checksums, as in 23.05, and
drop the "|| true", so that a failure to write the file stops the build
instead of going unnoticed.

Tested with a test package in the main, 25.12 and 24.10 SDKs. The IPKs
contain files-sha256sum matching data.tar.gz, and without the mkdir the
build now fails.

Fixes: d788ab376f85 ("build: add APK package build capabilities")
Signed-off-by: Josef Schlehofer &lt;pepe.schlehofer@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/26257
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>tools/sccache: add sccache Rust compiler cache</title>
<updated>2026-10-30T10:06:08Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2026-10-22T22:23:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=a1788e6156cf4541aaae31191b693d2008c79541'/>
<id>urn:sha1:a1788e6156cf4541aaae31191b693d2008c79541</id>
<content type='text'>
RUST_SCCACHE builds sccache 0.18.0 from a vendor tarball and makes it
the RUSTC_WRAPPER of the cargo builds of host tools, target packages
and libstd-rust. For target packages, scripts/rust-target-wrapper.sh
runs it in turn. The option sits next to CCACHE and is available with
any Rust toolchain of the build system. The packages feed defines
RUST_SCCACHE as well, without a dependency, and Kconfig merges both
definitions, so the tools and the cargo variables check for a Rust
toolchain once more.

sccache is built without default features: the local disk cache stays,
the remote storage backends and their HTTP and TLS stacks are left out,
so the build needs no host library. sccache needs rustc to build, so
the rustc build from source and the sccache build run unwrapped.

sccache keeps its cache and configuration in $(TOPDIR)/.sccache, or in
RUST_SCCACHE_DIR when set, and its server listens on a socket in
$(TMP_DIR), so that each tree has a server of its own. distclean
removes .sccache, and the SCCACHE_* variables of the environment are
unexported.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;

</content>
</entry>
<entry>
<title>build: pass Rust variables to CMake packages</title>
<updated>2026-10-30T10:06:08Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2026-10-08T10:21:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=996ae0e11351ac93225f3e7c0f0e10cd4c77b039'/>
<id>urn:sha1:996ae0e11351ac93225f3e7c0f0e10cd4c77b039</id>
<content type='text'>
Pass the Rust target, selected compiler, Cargo executable and
Corrosion module location to CMake packages using rust-values.mk, told
by its include guard. Cargo goes as Rust_CARGO as well, which FindRust
of corrosion reads, as projects such as fish carry it; it looks in PATH
and in ~/.cargo/bin otherwise. Carry the target Cargo environment
through configure, build and install for both Ninja and Makefiles,
keeping native probes on the host sysroot.

Register the libstd build dependency and Rust configuration inputs for
target consumers. Package CMAKE_OPTIONS can override generated options.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;

</content>
</entry>
<entry>
<title>tools/meson: add rust entry to meson cross file</title>
<updated>2026-10-30T10:06:08Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2026-10-08T10:21:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=0508180cc788356f5cdf563bfbab9318960c2a81'/>
<id>urn:sha1:0508180cc788356f5cdf563bfbab9318960c2a81</id>
<content type='text'>
Add target and native Rust compiler entries when a package includes
rust-values.mk. Its include guard tells, as the packages feed has a
rust-values.mk of its own, which python3-host.mk includes for every
Python package. The target entry carries the triple, CPU flags,
target-owned sysroot and standard-library linkage choice; native probes
use the host sysroot.

Supply bindgen with the toolchain sysroot and selected LLVM paths.
Register the target libstd build dependency and configuration inputs
for Rust consumers.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;

</content>
</entry>
<entry>
<title>kernel: support building Rust in the kernel</title>
<updated>2026-10-30T10:06:08Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2026-10-08T10:21:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=8ce797daed8d066a8dcec75b26ab2d3955cc8226'/>
<id>urn:sha1:8ce797daed8d066a8dcec75b26ab2d3955cc8226</id>
<content type='text'>
With CONFIG_KERNEL_RUST pass RUSTC, BINDGEN, RUST_LIB_SRC and
LIBCLANG_PATH to the kernel build. These are the variables
scripts/rust_is_available.sh checks.

KERNEL_RUST is enabled by default with any Rust toolchain, selects
bindgen and follows the kernel's architecture requirements: ARM32 needs
little-endian ARMv7, and ARM32 and LoongArch require KASAN to be
disabled.

CONFIG_RUST makes further symbols visible, which kconfig asks for
because the generic configuration does not answer them. Answer them in
the generic configuration so that targets need no changes. Filter the
rustc and bindgen version texts out of the kernel configuration
comparison.

Suggested-by: Andre Heider &lt;a.heider@gmail.com&gt;
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;

</content>
</entry>
</feed>
