Message ID | d2da8fef633ea76c9160693ee9536b3022a72df3.1689651113.git.bruce.ashfield@gmail.com |
---|---|
State | Accepted, archived |
Commit | d4b5ea28078cbbf417d95e1b77c6b8c3e9f9e4c0 |
Headers | show |
Series | [1/4] linux-yocto/6.x: cfg: update ima.cfg to match current meta-integrity | expand |
diff --git a/meta/classes-recipe/kernel.bbclass b/meta/classes-recipe/kernel.bbclass index 2aedf3a31b..b3865dcb0f 100644 --- a/meta/classes-recipe/kernel.bbclass +++ b/meta/classes-recipe/kernel.bbclass @@ -355,6 +355,9 @@ kernel_do_compile() { export PKG_CONFIG_LIBDIR="$PKG_CONFIG_DIR" export PKG_CONFIG_SYSROOT_DIR="" + # for newer kernels (5.19+) there's a dedicated variable + export HOSTPKG_CONFIG="pkg-config-native" + if [ "${KERNEL_DEBUG_TIMESTAMPS}" != "1" ]; then # kernel sources do not use do_unpack, so SOURCE_DATE_EPOCH may not # be set....