]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
kernel-arch: Fix buildpaths leaking into external module compiles
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Jul 2022 11:48:02 +0000 (12:48 +0100)
committerSteve Sakoman <steve@sakoman.com>
Thu, 18 Aug 2022 17:16:39 +0000 (07:16 -1000)
commitc4d8834ed3d200f25f12fec8acfa2b954f3240e0
tree70949f196dc3407ef82501520efc6c28202b72a1
parentba997f02b2cb86aeaa308873727a9280d1f88b5b
kernel-arch: Fix buildpaths leaking into external module compiles

Building external kernel modules like lttng-modules was showing build paths
inside the debug symbols for the modules and breaking build reproducibility.

Fix this by adding in the mapping needed to map the kernel build directory
to something more approriate on target.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b56dc9009ba93174de6bf4c01e17808ef249dc5c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/kernel-arch.bbclass