diff options
Diffstat (limited to 'meta/classes/kernel.bbclass')
| -rw-r--r-- | meta/classes/kernel.bbclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 96e41b5192..dbd89057f3 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
| @@ -396,6 +396,13 @@ addtask transform_kernel after do_compile before do_install | |||
| 396 | 396 | ||
| 397 | do_compile_kernelmodules() { | 397 | do_compile_kernelmodules() { |
| 398 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE | 398 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE |
| 399 | |||
| 400 | # setup native pkg-config variables (kconfig scripts call pkg-config directly, cannot generically be overriden to pkg-config-native) | ||
| 401 | export PKG_CONFIG_DIR="${STAGING_DIR_NATIVE}${libdir_native}/pkgconfig" | ||
| 402 | export PKG_CONFIG_PATH="$PKG_CONFIG_DIR:${STAGING_DATADIR_NATIVE}/pkgconfig" | ||
| 403 | export PKG_CONFIG_LIBDIR="$PKG_CONFIG_DIR" | ||
| 404 | export PKG_CONFIG_SYSROOT_DIR="" | ||
| 405 | |||
| 399 | if [ "${KERNEL_DEBUG_TIMESTAMPS}" != "1" ]; then | 406 | if [ "${KERNEL_DEBUG_TIMESTAMPS}" != "1" ]; then |
| 400 | # kernel sources do not use do_unpack, so SOURCE_DATE_EPOCH may not | 407 | # kernel sources do not use do_unpack, so SOURCE_DATE_EPOCH may not |
| 401 | # be set.... | 408 | # be set.... |
