mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-06-07 11:20:45 +00:00
mesa-pvr: adjust PR to be RPM-safe
RPM does not accept '-' as a character in the PR/version and fails with: | error: line 4: Illegal char '-' (0x2d) in: Release: sgxrgx-54fd9d7dea098b6f11c2a244b0c6763dc8c5690c.1 The correct approach is to reference SRCPV and not SRCREV and also add it to PV and not PR. But PV is used in the branch to fetch the sources and cannot be modified, so use SRCPV in PR w/o any illegal characters. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
committed by
Ryan Eatmon
parent
5dd8e7f62b
commit
328bc9227f
@@ -32,7 +32,7 @@ PACKAGECONFIG:append = " \
|
||||
# Idea is these two should be the same, but currently a segfault is happening
|
||||
# on certain platforms if the sgx commit is used.
|
||||
SRCREV = "${@bb.utils.contains('PACKAGECONFIG', 'sgx', '7c9522a4147836064f582278e4f7115735c16868', '54fd9d7dea098b6f11c2a244b0c6763dc8c5690c', d)}"
|
||||
PR = "sgxrgx-${SRCREV}"
|
||||
PR = "sgxrgx${SRCPV}"
|
||||
|
||||
PVR_DISPLAY_CONTROLLER_ALIAS ??= "tidss"
|
||||
PACKAGECONFIG[pvr] = "-Dgallium-pvr-alias=${PVR_DISPLAY_CONTROLLER_ALIAS},"
|
||||
|
||||
Reference in New Issue
Block a user