]> git.ipfire.org Git - thirdparty/openwrt.git/commit
kernel: use iremap for assembly 24271/head
authorPaul Spooren <mail@aparcar.org>
Fri, 17 Jul 2026 19:19:46 +0000 (21:19 +0200)
committerPaul Spooren <mail@aparcar.org>
Fri, 17 Jul 2026 19:43:03 +0000 (21:43 +0200)
commit06c826e3354e2553c2360e144c8a671aaee51ad8
tree8fcbcd37e04038087101cbd78a4f549d8cd19758
parent52c0274e55e82f527705afd9e655e0e6f2c7a2bb
kernel: use iremap for assembly

Currently assembly code of the Kernel may contain the build path, resulting in
unreproducible firmware images (and Kernels). Fix this by adding a iremap
KAFLAG.

Before:

    strings "/path/to/vmlinux" | grep linux-6.18.38
    /path/to/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.38
    /path/to/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.18.38

After

    strings "/path/to/vmlinux" | grep linux-6.18.38
    target-x86_64_musl/linux-x86_64/linux-6.18.38
    target-x86_64_musl/linux-x86_64/linux-6.18.38

Link: https://github.com/openwrt/openwrt/pull/24271
Signed-off-by: Paul Spooren <mail@aparcar.org>
include/kernel.mk