Change the LOCALVERSION to '-imx'. While only linux-imx_4.9.123.bb fails,
change the the same pattern in linux-imx-headers_4.9.123.bb for consistency.
At least the ipk packager doesn't like the '_' characters and errors out
with the following for each kernel module:
| ERROR: Fatal errors occurred in subprocesses:
| Command 'PATH="..." opkg-build -Z xz kernel-module-snd-usbmidi-lib-4.9.123-imx_4.9.123_imx8mm_ga+g6a71cbc08975 \
| .../deploy-ipks/imx8qmmek' returned non-zero exit status 1.: Traceback (most recent call last):
| File "/build/krm/oe-core_master/build/../layers/openembedded-core/meta/lib/oe/utils.py", line 272, in run
| ret = self._target(*self._args, **self._kwargs)
| File "/build/krm/oe-core_master/build/../layers/openembedded-core/meta/classes/package_ipk.bbclass", line 230, \
| in ipk_write_pkg
| shell=True)
| File "/usr/lib64/python3.6/subprocess.py", line 336, in check_output
| **kwargs).stdout
| File "/usr/lib64/python3.6/subprocess.py", line 418, in run
| output=stdout, stderr=stderr)
| subprocess.CalledProcessError: Command '...' returned non-zero exit status 1.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
SRCBRANCH = "imx_4.9.123_imx8mm_ga"
-LOCALVERSION = "-${SRCBRANCH}"
+LOCALVERSION = "-imx"
SRC_URI = "git://source.codeaurora.org/external/imx/linux-imx.git;protocol=https;branch=${SRCBRANCH} \
file://0001-uapi-Install-custom-headers.patch"
SRCREV = "6a71cbc089755afd6a86c005c22a1af6eab24a70"
DEPENDS += "lzop-native bc-native"
SRCBRANCH = "imx_4.9.123_imx8mm_ga"
-LOCALVERSION = "-${SRCBRANCH}"
+LOCALVERSION = "-imx"
SRCREV = "6a71cbc089755afd6a86c005c22a1af6eab24a70"
DEFAULT_PREFERENCE = "1"