]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
kernel-arch: add macro-prefix-map in KERNEL_CC
authorStefan Mueller-Klieser <S.Mueller-Klieser@phytec.de>
Fri, 7 Mar 2025 13:43:52 +0000 (14:43 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 8 Mar 2025 18:08:01 +0000 (18:08 +0000)
commita741e11751bfb8f52be58cf51abeddca4559e5e9
treedc13ccdb8423aab3d8f6e11bee9fb18176cf23a9
parent1ff496546279d8a97df5ec475007cfb095c2a0bc
kernel-arch: add macro-prefix-map in KERNEL_CC

When building external modules, macros can include absolute names of
kernel headers. The macro-prefix-map for the STAGING_KERNEL_DIR is
currently missing. Add it in the same way as its done in bitbake.conf.

This fixes reproducible builds and following build error:
ERROR: cryptodev-module-1.14-r0 do_package_qa: QA Issue: File <..>
cryptodev.ko <..> contains reference to TMPDIR [buildpaths]

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/kernel-arch.bbclass