summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes-bsp/barebox/barebox-ipl_%.bbappend2
-rw-r--r--recipes-bsp/barebox/barebox_%.bbappend2
-rw-r--r--recipes-kernel/linux/linux-common-append.inc2
3 files changed, 3 insertions, 3 deletions
diff --git a/recipes-bsp/barebox/barebox-ipl_%.bbappend b/recipes-bsp/barebox/barebox-ipl_%.bbappend
index 94185bf..2004ae5 100644
--- a/recipes-bsp/barebox/barebox-ipl_%.bbappend
+++ b/recipes-bsp/barebox/barebox-ipl_%.bbappend
@@ -1 +1 @@
-LOCALVERSION = "-${DISTRO_VERSION}"
+LOCALVERSION = "-${@legitimize_package_name(d.getVar('DISTRO_VERSION', True))}"
diff --git a/recipes-bsp/barebox/barebox_%.bbappend b/recipes-bsp/barebox/barebox_%.bbappend
index 94185bf..2004ae5 100644
--- a/recipes-bsp/barebox/barebox_%.bbappend
+++ b/recipes-bsp/barebox/barebox_%.bbappend
@@ -1 +1 @@
-LOCALVERSION = "-${DISTRO_VERSION}"
+LOCALVERSION = "-${@legitimize_package_name(d.getVar('DISTRO_VERSION', True))}"
diff --git a/recipes-kernel/linux/linux-common-append.inc b/recipes-kernel/linux/linux-common-append.inc
index 0cfda7a..176086b 100644
--- a/recipes-kernel/linux/linux-common-append.inc
+++ b/recipes-kernel/linux/linux-common-append.inc
@@ -5,4 +5,4 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/features:"
SRC_URI_append = " file://mtd-tests.cfg"
KERNEL_MODULES_RDEPENDS_BLACKLIST += "${MTD_TEST_PACKAGES}"
-LOCALVERSION = "-${DISTRO_VERSION}"
+LOCALVERSION = "-${@legitimize_package_name(d.getVar('DISTRO_VERSION', True))}"