@@ -21,7 +21,7 @@ DEPENDS += "gmp-native"
EXTRA_OEMAKE = " HOSTCC="${BUILD_CC}" HOSTCFLAGS="${BUILD_CFLAGS}" HOSTLDFLAGS="${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}""
EXTRA_OEMAKE += " HOSTCXX="${BUILD_CXX} ${BUILD_CXXFLAGS} ${BUILD_LDFLAGS}" CROSS_COMPILE=${TARGET_PREFIX}"
-KERNEL_LOCALVERSION = "${@get_kernellocalversion_file("${STAGING_KERNEL_BUILDDIR}")}"
+KERNEL_LOCALVERSION = "${@get_kernellocalversion_file("${STAGING_KERNEL_BUILDDIR}", "${KERNEL_PACKAGE_NAME}")}"
export LOCALVERSION = "${KERNEL_LOCALVERSION}"
# Build some host tools under work-shared. CC, LD, and AR are probably
get_kernellocalversion_file relies on hard coded kernel-localversion file. The kernel- prefix changes when you modify KERNEL_PACKAGE_NAME. Update to account for the modification of KERNEL_PACKAGE_NAME. Signed-off-by: Vincent Davis Jr <vince@underview.tech> --- meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)