diff options
| -rw-r--r-- | meta/classes-recipe/kernel.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
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() { | |||
| 355 | export PKG_CONFIG_LIBDIR="$PKG_CONFIG_DIR" | 355 | export PKG_CONFIG_LIBDIR="$PKG_CONFIG_DIR" |
| 356 | export PKG_CONFIG_SYSROOT_DIR="" | 356 | export PKG_CONFIG_SYSROOT_DIR="" |
| 357 | 357 | ||
| 358 | # for newer kernels (5.19+) there's a dedicated variable | ||
| 359 | export HOSTPKG_CONFIG="pkg-config-native" | ||
| 360 | |||
| 358 | if [ "${KERNEL_DEBUG_TIMESTAMPS}" != "1" ]; then | 361 | if [ "${KERNEL_DEBUG_TIMESTAMPS}" != "1" ]; then |
| 359 | # kernel sources do not use do_unpack, so SOURCE_DATE_EPOCH may not | 362 | # kernel sources do not use do_unpack, so SOURCE_DATE_EPOCH may not |
| 360 | # be set.... | 363 | # be set.... |
