summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--classes/fsl-kernel-localversion.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/fsl-kernel-localversion.bbclass b/classes/fsl-kernel-localversion.bbclass
index c0306a08..ff1075e5 100644
--- a/classes/fsl-kernel-localversion.bbclass
+++ b/classes/fsl-kernel-localversion.bbclass
@@ -28,7 +28,9 @@ do_preconfigure() {
28 CONF_SED_SCRIPT="" 28 CONF_SED_SCRIPT=""
29 29
30 kernel_conf_variable LOCALVERSION "\"${LOCALVERSION}\"" 30 kernel_conf_variable LOCALVERSION "\"${LOCALVERSION}\""
31 kernel_conf_variable LOCALVERSION_AUTO y 31 if [ "${SCMVERSION}" = "y" ]; then
32 kernel_conf_variable LOCALVERSION_AUTO y
33 fi
32 34
33 sed -e "${CONF_SED_SCRIPT}" < '${WORKDIR}/defconfig' >> '${B}/.config' 35 sed -e "${CONF_SED_SCRIPT}" < '${WORKDIR}/defconfig' >> '${B}/.config'
34 36